Problem | addition |
---|---|
User | 2Princes1Lance |
Submission Time | 2023-11-05 20:53:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
addition.cpp:1:1: error: ‘include’ does not name a type
1 | include <cstdio>
| ^~~~~~~
addition.cpp: In function ‘int main()’:
addition.cpp:8:7: error: ‘cin’ is not a member of ‘std’
8 | std::cin >> x >> y;
| ^~~
addition.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | include <cstdio>
addition.cpp:9:7: error: ‘cout’ is not a member of ‘std’
9 | std::cout << x + y;
| ^~~~
addition.cpp:9:7: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?