Problem | helloworld |
---|---|
User | haydendoo |
Submission Time | 2023-02-05 20:20:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:5:1: error: ‘ios_base’ has not been declared
5 | ios_base::sync_with_stdio(0); cin.tie(0);
| ^~~~~~~~
helloworld.cpp:5:31: error: ‘cin’ was not declared in this scope
5 | ios_base::sync_with_stdio(0); cin.tie(0);
| ^~~
helloworld.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;