fork download
  1. int iadd(int a,int b){int c=a+b;return c;}
  2. int main() {
  3. int a =
  4. ((514+0) +
  5. ((1+2) +
  6. ((3+4) +
  7. ((5+6) +
  8. ((7+8) +
  9. ((9+10) +
  10. ((11+12) +
  11. ((13+14) +
  12. ((15+16) +
  13. ((17+18) +
  14. ((19+20) +
  15. ((21+22) +
  16. ((23+24) +
  17. ((25+26) +
  18. ((27+28) +
  19. ((29+30) +
  20. ((31+32) +
  21. ((33+34) +
  22. ((35+36) +
  23. ((37+38) +
  24. ((39+40) +
  25. ((41+42) +
  26. ((43+44) +
  27. ((45+46) +
  28. ((47+48) +
  29. ((49+50) +
  30. 51))))))))))))))))))))))))));
  31. float f =
  32. ((514.0+0.0) +
  33. ((1.0+2.0) +
  34. ((3.0+4.0) +
  35. ((5.0+6.0) +
  36. ((7.0+8.0) +
  37. ((9.0+10.0) +
  38. ((11.0+12.0) +
  39. ((13.0+14.0) +
  40. ((15.0+16.0) +
  41. ((17.0+18.0) +
  42. ((19.0+20.0) +
  43. ((21.0+22.0) +
  44. ((23.0+24.0) +
  45. ((25.0+26.0) +
  46. ((27.0+28.0) +
  47. ((29.0+30.0) +
  48. ((31.0+32.0) +
  49. ((33.0+34.0) +
  50. ((35.0+36.0) +
  51. ((37.0+38.0) +
  52. ((39.0+40.0) +
  53. ((41.0+42.0) +
  54. ((43.0+44.0) +
  55. ((45.0+46.0) +
  56. ((47.0+48.0) +
  57. ((49.0+50.0) +
  58. 51.0))))))))))))))))))))))))));
  59. write(iadd(a,f));
  60. }
  61.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:59:18: error: ‘write’ was not declared in this scope
   write(iadd(a,f));
                  ^
stdout
Standard output is empty