Problem addition
User kkai
Submission Time 2024-02-19 21:39:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:8:2: error: expected initializer before ‘int’
8 | int A = std::stoi(stringA);
| ^~~
addition.cpp:9:6: error: redeclaration of ‘int B’
9 | int B = std::stoi(stringB);
| ^
addition.cpp:7:8: note: ‘int B’ previously declared here
7 | int A,B,sum
| ^