| Problem | notduckhunt |
|---|---|
| User | shenshiqi |
| Submission Time | 2025-12-05 11:43:45 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
notduckhunt.cpp: In function ‘int main()’:
notduckhunt.cpp:11:28: error: ‘P’ was not declared in this scope
11 | for (ll i = 0; i < n; ++i)P
| ^
notduckhunt.cpp:13:26: error: ‘i’ was not declared in this scope
13 | maxVal = max(maxVal, a[i]);
| ^
notduckhunt.cpp: At global scope:
notduckhunt.cpp:16:2: error: expected unqualified-id before ‘if’
16 | if (k == 1){
| ^~
notduckhunt.cpp:22:2: error: expected unqualified-id before ‘for’
22 | for (ll left = 0; left < n; ++left){
| ^~~
notduckhunt.cpp:22:20: error: ‘left’ does not name a type
22 | for (ll left = 0; left < n; ++left){
| ^~~~
notduckhunt.cpp:22:30: error: expected unqualified-id before ‘++’ token
22 | for (ll left = 0; left < n; ++left){
| ^~
notduckhunt.cpp:47:2: error: ‘cout’ does not name a type