300億円欲しい

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

AOJ

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…