fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(v) {
  4. int an,bn=4,n;
  5. while(an<=10000)
  6. {
  7. bn=bn*2;
  8. an=bn+1;
  9. n=n+1;
  10. }
  11. printf("%d番目",n);
  12.  
  13.  
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
12番目