Borderou de evaluare (job #3319902)
| Utilizator | Data | 3 noiembrie 2025 18:54:46 | |
|---|---|---|---|
| Problema | Padure | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void bfs(std::set<int>, int)':
main.cpp:34:44: error: 'graph' was not declared in this scope; did you mean 'isgraph'?
34 | for (set<int>::iterator nextNode = graph[*it].begin(); nextNode != graph[*it].end(); ++nextNode) {
| ^~~~~
| isgraph
main.cpp: In function 'int main()':
main.cpp:96:25: warning: unused variable 'currentIsland' [-Wunused-variable]
96 | int currentIsland = mt[i][j], nextIsland = mt[i + d[k].first][j + d[k].second];
| ^~~~~~~~~~~~~
main.cpp:96:51: warning: unused variable 'nextIsland' [-Wunused-variable]
96 | int currentIsland = mt[i][j], nextIsland = mt[i + d[k].first][j + d[k].second];
| ^~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
