Problem | addition |
---|---|
User | hackerman123 |
Submission Time | 2023-01-27 11:48:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
addition.cpp: In function ‘int main()’:
addition.cpp:7:5: error: ‘cin’ was not declared in this scope
7 | cin >> a >> b;
| ^~~
addition.cpp:2:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include <cstdio>
+++ |+#include <iostream>
2 | using namespace std;
addition.cpp:10:2: error: ‘cout’ was not declared in this scope
10 | cout << sum;
| ^~~~
addition.cpp:10:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?