Problem | elephants |
---|---|
User | bribritt |
Submission Time | 2024-03-09 22:08:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
elephants.cpp: In function ‘int update(int, int)’:
elephants.cpp:6:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
6 | #define SQRTNQ 267
| ^~~
elephants.cpp:63:11: note: in expansion of macro ‘SQRTNQ’
63 | if(nxt==SQRTNQ || !pos[nxtt].size()) return ans;
| ^~~~~~