Problem addition
User JK13
Submission Time 2023-11-08 10:18:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
addition.cpp: In function ‘int main()’:
addition.cpp:4:23: error: expected primary-expression before ‘<’ token
4 | int main(){ <- when your code starts to run
| ^
addition.cpp:4:26: error: ‘when’ was not declared in this scope
4 | int main(){ <- when your code starts to run
| ^~~~
addition.cpp:6:23: error: expected primary-expression before ‘<’ token
6 | return 0; <- this should be the last line of the code
| ^
addition.cpp:6:26: error: invalid use of ‘this’ in non-member function
6 | return 0; <- this should be the last line of the code
| ^~~~