fork download
  1. int x = 100;
  2. int main()
  3. {
  4. --x;
  5. if (x==0) return 1;
  6. if (x==99){
  7. printf("%d\n", 100+main());
  8. return 0;
  9. }
  10. return x+1+main();
  11. }
  12.  
Success #stdin #stdout 0.02s 1720KB
stdin
Standard input is empty
stdout
5050