Problem addition
User jenna
Submission Time 2025-02-08 23:49:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp:5:6: error: ‘cin’ in namespace ‘std’ does not name a type
5 | std::cin>> a,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
| ^~~
addition.cpp:6:1: error: expected unqualified-id before ‘return’
6 | return (a+b);
| ^~~~~~