夢追い人

"It takes a dreamer to make a dream come true."―Vincent Willem van Gogh

2011-09-02から1日間の記事一覧

hatena銀色になった

0044 #include <cstdio> #include <algorithm> using namespace std; int main() { int n; bool isprime[70001]; int prime[35000]; int pnum = 0; fill(isprime, isprime+70001, true); isprime[0] = isprime[1] = false; for (int i=2; i<70001; i++) { if (isprime[i]) { for</algorithm></cstdio>…

個人的にやったもの

0077 #include <iostream> using namespace std; int main() { string str; while (cin >> str) { string res = ""; for (int i=0; i</iostream>