fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a=3,n=0;
  5.  
  6. while(a<10000){
  7. a=2*a-1 ;
  8. n=n+1;
  9. }
  10. printf("%d,&n");
  11. return 0;
  12. }
Success #stdin #stdout 0s 5300KB
stdin
Standard input is empty
stdout
1581853496,&n