Problem addition
User JunWei
Submission Time 2023-08-05 20:39:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:11:15: error: ‘endl’ was not declared in this scope; did you mean ‘std::endl’?
11 | cout << c << endl;
| ^~~~
| std::endl
In file included from /usr/include/c++/9/iostream:39,
from addition.cpp:1:
/usr/include/c++/9/ostream:599:5: note: ‘std::endl’ declared here
599 | endl(basic_ostream<_CharT, _Traits>& __os)
| ^~~~