Problem | askonegetonefree |
---|---|
User | PlayVoltz |
Submission Time | 2024-09-15 19:36:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
askonegetonefree.cpp:11:1: error: ‘vector’ does not name a type
11 | vector<pii> dp;
| ^~~~~~
askonegetonefree.cpp:5:13: error: ‘pair’ does not name a type
5 | #define pii pair<int, int>
| ^~~~
askonegetonefree.cpp:13:1: note: in expansion of macro ‘pii’
13 | pii calc(int i){
| ^~~
askonegetonefree.cpp: In function ‘Answer guess(int)’:
askonegetonefree.cpp:42:4: error: ‘N’ was not declared in this scope
42 | n=N;
| ^
askonegetonefree.cpp:43:2: error: ‘dp’ was not declared in this scope; did you mean ‘mp’?
43 | dp.assign(n+1, mp(INT_MAX/2, -1));
| ^~
| mp
askonegetonefree.cpp:43:20: error: ‘INT_MAX’ was not declared in this scope
43 | dp.assign(n+1, mp(INT_MAX/2, -1));
| ^~~~~~~
askonegetonefree.cpp:3:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #i