| Problem | globalwarming |
|---|---|
| User | yc |
| Submission Time | 2025-12-06 22:26:21 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
globalwarming.cpp: In function ‘int main()’:
globalwarming.cpp:16:60: error: ‘c’ was not declared in this scope
16 | if (n1.size()==0) {n1.push_back(x);n2[x].push_back(c);c++;}
| ^
globalwarming.cpp:19:25: error: ‘c’ was not declared in this scope
19 | n2[x].push_back(c);
| ^
globalwarming.cpp:32:63: error: ‘c’ was not declared in this scope
32 | if (n2[(*it).first][j]!=0 and n2[(*it).first][j]!=c-1 and n1[n2[(*it).first][j]-1]>n1[n2[(*it).first][j]] and n1[n2[(*it).first][j]+1]>n1[n2[(*it).first][j]]) {l++;}
| ^