Problem addition
User yeetmaster
Submission Time 2023-10-26 22:40:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp:3:6: error: ‘cin’ in namespace ‘std’ does not name a type
3 | std::cin >> a;
| ^~~
In file included from addition.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
addition.cpp:4:6: error: ‘cin’ in namespace ‘std’ does not name a type
4 | std::cin >> b;
| ^~~
In file included from addition.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~