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