| Problem | addition2 |
|---|---|
| User | apples |
| Submission Time | 2026-04-16 14:11:28 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
addition2.cpp: In function ‘int main()’:
addition2.cpp:4:2: error: expected initializer before ‘cin’
4 | cin >> a >> b;
| ^~~
addition2.cpp:5:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
5 | cout << a+b;
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from addition2.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
addition2.cpp:5:12: error: ‘b’ was not declared in this scope
5 | cout << a+b;
| ^