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