Borderou de evaluare (job #3212147)
Utilizator | Data | 11 martie 2024 10:52:12 | |
---|---|---|---|
Problema | AVD | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:1: error: 'map' does not name a type
10 | map<vector<int>,bool> M;
| ^~~
main.cpp: In function 'int dfs(int)':
main.cpp:19:19: error: request for member 'second' in 'i', which is of non-class type 'int'
19 | if(!viz[i.second]&&(stare>>i.first)&1)
| ^~~~~~
main.cpp:19:38: error: request for member 'first' in 'i', which is of non-class type 'int'
19 | if(!viz[i.second]&&(stare>>i.first)&1)
| ^~~~~
main.cpp:20:23: error: request for member 'second' in 'i', which is of non-class type 'int'
20 | nr+=dfs(i.second);
| ^~~~~~
main.cpp:18:15: warning: unused variable 'j' [-Wunused-variable]
18 | for(auto& j:L[nod])
| ^
main.cpp: In function 'void solve()':
main.cpp:31:5: error: 'M' was not declared in this scope
31 | M.clear();
| ^
main.cpp:43:21: error: 'l' was not declared in this scope
43 | for(l=max(j,1);i+l<=n;l++)
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !