Borderou de evaluare (job #2879474)
Utilizator | Data | 28 martie 2022 17:08:17 | |
---|---|---|---|
Problema | Karb2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:23:12: error: too few arguments to function 'void dfs(int, int)'
23 | dfs(e);
| ^
main.cpp:16:20: note: declared here
16 | static inline void dfs(int nod, int t) {
| ^~~
main.cpp:21:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
21 | for(auto e : G[nod])
| ^~~
main.cpp:30:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
30 | if(!ok) {
| ^~
main.cpp: In function 'int main()':
main.cpp:57:8: error: too few arguments to function 'void dfs(int, int)'
57 | dfs(1);
| ^
main.cpp:16:20: note: declared here
16 | static inline void dfs(int nod, int t) {
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !