Problem | funnyhat |
---|---|
User | yhmixeI |
Submission Time | 2024-12-30 14:47:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
funnyhat.cpp:2:1: error: ‘vector’ does not name a type
2 | vector<int> arr;
| ^~~~~~
funnyhat.cpp: In function ‘void WA(const char*)’:
funnyhat.cpp:8:2: error: ‘printf’ was not declared in this scope
8 | printf("%s\n", s);
| ^~~~~~
funnyhat.cpp:1:1: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
+++ |+#include <cstdio>
1 | int n,ans;
funnyhat.cpp:11:9: error: ‘stdout’ was not declared in this scope
11 | fflush(stdout);
| ^~~~~~
funnyhat.cpp:11:9: note: ‘stdout’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
funnyhat.cpp:11:2: error: ‘fflush’ was not declared in this scope
11 | fflush(stdout);
| ^~~~~~
funnyhat.cpp:12:2: error: ‘exit’ was not declared in this scope
12 | exit(0);
| ^~~~
funnyhat.cpp: In function ‘void AC()’:
funnyhat.cpp:15:2: error: ‘printf’