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

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:4:7: error: ‘stringA’ is not a member of ‘std’; did you mean ‘string’?
4 | std::stringA;
| ^~~~~~~
| string
addition.cpp:5:7: error: ‘stringB’ is not a member of ‘std’; did you mean ‘string’?
5 | std::stringB;
| ^~~~~~~
| string
addition.cpp:6:12: error: ‘A’ was not declared in this scope
6 | std::cin>>A>>B;
| ^
addition.cpp:6:15: error: ‘B’ was not declared in this scope
6 | std::cin>>A>>B;
| ^
addition.cpp:7:20: error: ‘stringA’ was not declared in this scope; did you mean ‘stdin’?
7 | int A = std::stoi(stringA);
| ^~~~~~~
| stdin
addition.cpp:8:20: error: ‘stringB’ was not declared in this scope; did you mean ‘stdin’?
8 | int B = std::stoi(stringB);
| ^~~~~~~