Problem globalwarming
User RandomCtfNoob
Submission Time 2026-01-21 16:42:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

globalwarming.cpp: In function ‘int main()’:
globalwarming.cpp:20:26: error: redeclaration of ‘std::unordered_map<int, int> act’
20 | unordered_map<int, int> act;
| ^~~
globalwarming.cpp:18:26: note: ‘std::unordered_map<int, int> act’ previously declared here
18 | unordered_map<int, int> act;
| ^~~
globalwarming.cpp:21:5: error: redeclaration of ‘int ans’
21 | int ans = 0;
| ^~~
globalwarming.cpp:19:6: note: ‘int ans’ previously declared here
19 | int ans = 0;
| ^~~