Problem addition
User PyAce
Submission Time 2025-06-16 11:17:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:5:2: error: expected ‘,’ or ‘;’ before ‘int’
5 | int x1 = 0
| ^~~
addition.cpp:8:14: error: ‘x’ was not declared in this scope
8 | std::cin >> x;
| ^
addition.cpp:9:2: error: ‘x1’ was not declared in this scope
9 | x1 = x
| ^~
addition.cpp:11:14: error: ‘y’ was not declared in this scope
11 | std::cin >> y;
| ^
addition.cpp:12:2: error: ‘y1’ was not declared in this scope
12 | y1 = y
| ^~