Problem addition
User HuaXTing
Submission Time 2026-11-20 14:10:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:8:6: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘long long int’ to binary ‘operator>>’
8 | sin >> x >> y;
| ~~~~^~~~
addition.cpp:9:2: error: ‘sout’ was not declared in this scope; did you mean ‘stdout’?
9 | sout << X + y;
| ^~~~
| stdout
addition.cpp:9:10: error: ‘X’ was not declared in this scope
9 | sout << X + y;
| ^