300億円欲しい

メジャーリーグのデータ解析します

2013-03-01から1ヶ月間の記事一覧

Vimrcを晒す

Vimrc Vimfiler, Vimshell, Unite は入れただけで殆ど使っていません。 これから勉強します。ごめんなさい。 Bundleのままです。NeoBundleに移行していません。ごめんなさい。 " 色々 set set number set clipboard=unnnamed set clipboard=autoselect set s…

ARC005 A問題 大好き高橋くん

Haskellは光です。 問題 高橋君は自分が大好きなので、自分の評判を調べるために自分の名前が入っているツイートを調べたいと考えました。しかし彼のフォロー数は多いので、タイムラインを 1 つずつ確認して自分に関係あるつぶやきを探すのは面倒です。 そこ…

ARC003 問題B 逆さま辞書

やっぱHaskellって凄いわ!という話です。 問題 高橋君は友達とチャットで逆さしりとりをすることにしました。 逆さしりとりとは、前の人が言った単語の頭文字で終わる単語を答えるしりとりです。 しかし、高橋君は英単語に自信がないのでこっそり「さかさま…

AOJ 0009

問題 n 以下の素数の数を数えろ、という内容。 Prime Number Write a program which reads an integer n (n ≤ 999999) and prints the number of prime numbers which are less than or equal to n. A prime number is a natural number which has exactly t…

AOJ 0003

問題 GCD and LCM Write a program which computes the greatest common divisor (GCD) and the least common multiple (LCM) of given a and b (0 Input Input consists of several data sets. Each data set contains a and b separated by a single space…

AOJ 0003

初心者のC++ 問題 Is it a Right Triangle? Write a program which judges wheather given length of three side form a right triangle. Print "YES" if the given sides (integers) form a right triangle, "NO" if not so. Input Input consists of sever…

ARC003 問題A GPA計算

問題文 高橋君はアメリカに留学しようと考えており、成績表を提出することになりました。 アメリカ留学の成績表には、学力を測る指標であるGPAを表記する必要があります。 GPAとは各単位に対する評価(A,B,C,D,F)を点数に換算して平均した値で、点数への換算…