300億円欲しい

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

2013-03-02から1日間の記事一覧

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…