fork download
  1. #include <stdio.h>
  2.  
  3. int f() {
  4. if (2[(int*)__builtin_frame_address(0)])
  5. return (f(2[(int*)__builtin_frame_address(0)] - 1) +
  6. 2[(int*)__builtin_frame_address(0)]);
  7. return 0;
  8. }
  9.  
  10. int main() {
  11. printf("%d\n", f(100));
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0.01s 1720KB
stdin
Standard input is empty
stdout
5050