Problem | examstress |
---|---|
User | placeholder |
Submission Time | 2025-03-23 22:26:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
examstress.cpp: In function ‘int main()’:
examstress.cpp:3:5: error: ‘ios_base’ has not been declared
3 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
examstress.cpp:4:5: error: ‘cin’ was not declared in this scope
4 | cin.tie(0); cout.tie(0);
| ^~~
examstress.cpp:4:17: error: ‘cout’ was not declared in this scope
4 | cin.tie(0); cout.tie(0);
| ^~~~
examstress.cpp:5:10: error: ‘cin’ is not a member of ‘std’
5 | std::cin >> numberOfIterations;
| ^~~
examstress.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | int main() {
examstress.cpp:7:10: error: ‘set’ is not a member of ‘std’
7 | std::set<std::string> setOfThings;
| ^~~
examstress.cpp:1:1: note: ‘std::set’ is defined in header ‘<set>’; did you forge