Problem globalwarming
User boaznumberd5555
Submission Time 2026-02-24 11:52:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

globalwarming.cpp:8:32: error: invalid declarator before ‘m’
8 | unordered_map<int,vector<int>> m;
| ^
globalwarming.cpp: In function ‘int32_t main()’:
globalwarming.cpp:25:3: error: ‘m’ was not declared in this scope
25 | m[h[i]].push_back(i);
| ^
globalwarming.cpp:27:15: error: ‘s’ was not declared in this scope
27 | for(auto it: s) {
| ^
globalwarming.cpp:28:15: error: ‘m’ was not declared in this scope
28 | for(auto i: m[it]) {
| ^