Borderou de evaluare (job #2785950)
Utilizator | Data | 19 octombrie 2021 21:07:47 | |
---|---|---|---|
Problema | Sate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int bfs(int, int)':
main.cpp:84:9: warning: unused variable 'ans' [-Wunused-variable]
84 | int ans = 0;
| ^~~
main.cpp: In instantiation of 'void Graph<N, E, DE>::append_bi(int, int, int) [with int N = 30001; int E = 200050; int DE = 100025]':
main.cpp:109:28: required from here
main.cpp:50:15: error: no matching function for call to 'Graph<30001, 200050, 100025>::append(int&, int&)'
50 | append(u, v);
| ~~~~~~^~~~~~
main.cpp:33:10: note: candidate: 'void Graph<N, E, DE>::append(int, int, int) [with int N = 30001; int E = 200050; int DE = 100025]'
33 | void append(int u, int v, int edge_idx) {
| ^~~~~~
main.cpp:33:10: note: candidate expects 3 arguments, 2 provided
main.cpp:51:15: error: no matching function for call to 'Graph<30001, 200050, 100025>::append(int&, int&)'
51 | append(v, u);
| ~~~~~~^~~~~~
main.cpp:33:10: note: candidate: 'void Graph<N, E, DE>::append(int, int, int) [with int N = 30001; int E = 200050; int DE = 100025]'
33 | void append(int u, int v, int edge_idx) {
| ^~~~~~
main.cpp:33:10: note: candidate expects 3 arguments, 2 provided
main.cpp:82:47: warning: control reaches end of non-void function [-Wreturn-type]
82 | std::queue<std::pair<int, int>> q{{{x, 0}}};
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !