Problem addition
User Codebreaker
Submission Time 2026-11-15 13:17:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:3:14: error: expected primary-expression before ‘int’
3 | std::cin >> int x >> int y;
| ^~~
addition.cpp:4:15: error: ‘x’ was not declared in this scope
4 | std::cout << x+y;
| ^
addition.cpp:4:17: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
4 | std::cout << x+y;
| ^
| yn