Borderou de evaluare (job #2976918)
Utilizator | Data | 10 februarie 2023 12:50:06 | |
---|---|---|---|
Problema | Sumtree | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:39:1: error: 'unordred_map' does not name a type
39 | unordred_map<int, pair<long long, long long>>mp[100002];
| ^~~~~~~~~~~~
main.cpp: In function 'void dfs(int, int)':
main.cpp:46:5: error: 'mp' was not declared in this scope; did you mean 'p'?
46 | mp[nod][it].first += lol[nod];
| ^~
| p
main.cpp:53:9: error: 'mp' was not declared in this scope; did you mean 'p'?
53 | if (mp[it].size() > mp[nod].size())
| ^~
| p
main.cpp:55:20: error: 'mp' was not declared in this scope; did you mean 'pp'?
55 | for (auto pp : mp[it]) {
| ^~
| pp
main.cpp:60:20: error: 'mp' was not declared in this scope; did you mean 'pp'?
60 | for (auto pp : mp[it]) {
| ^~
| pp
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !