2011-12-25 エラトステネスの篩(ステップ2) in C #include <stdio.h> int main() { int i; printf("2\n"); for (i=3; i<=10000; i++) printf("%d\n", i); return 0; }