Problem | catlunch |
---|---|
User | anna15 |
Submission Time | 2024-06-29 11:32:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
catlunch.cpp: In function ‘int main()’:
catlunch.cpp:4:5: error: ‘ios_base’ has not been declared
4 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
catlunch.cpp:5:5: error: ‘cin’ was not declared in this scope
5 | cin.tie(NULL);
| ^~~
catlunch.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
catlunch.cpp:5:13: error: ‘NULL’ was not declared in this scope
5 | cin.tie(NULL);
| ^~~~
catlunch.cpp:1:1: note: ‘NULL’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
+++ |+#include <cstddef>
1 | using namespace std;
catlunch.cpp:10:5: error: ‘vector’ was not declared in this scope
10 | vector<int> T(N);
| ^~~~~~
catlunch.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector&