fork download
  1. /* Helloプログラム */
  2.  
  3. #include <stdio.h>
  4.  
  5. main()
  6. {
  7. int a;
  8. a = 1;
  9.  
  10. for( ; a <= 10000 ; ) {
  11. printf("%d\n",a);
  12. a = 2 * a;
  13. }
  14.  
  15. }
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
1
2
4
8
16
32
64
128
256
512
1024
2048
4096
8192