Problem addition
User Roucy
Submission Time 2025-06-16 14:14:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:5:4: error: expected unqualified-id before ‘<<’ token
5 | int<<x;
| ^~
addition.cpp:6:4: error: expected unqualified-id before ‘<<’ token
6 | int<<y;
| ^~
addition.cpp:7:6: error: ‘x’ was not declared in this scope
7 | cin<<x;
| ^
addition.cpp:8:6: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
8 | cin<<y;
| ^
| yn
addition.cpp:9:10: error: expected ‘}’ at end of input
9 | cout<<x+y;
| ^
addition.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^