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