Problem | funnyhat |
---|---|
User | tacticalnerd |
Submission Time | 2024-12-30 16:04:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
funnyhat.cpp: In function ‘long long int find_hat(long long int, std::vector<long long int>)’:
funnyhat.cpp:33:10: error: ‘i’ was not declared in this scope
33 | while(i-- and H[i] > H[i+1]) {
| ^
funnyhat.cpp:37:10: error: ‘i’ was not declared in this scope
37 | while(i++ and H[i] > H[i-1]) {
| ^