Borderou de evaluare (job #2974307)
Utilizator | Data | 3 februarie 2023 20:26:33 | |
---|---|---|---|
Problema | Concurs | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:13:1: error: ISO C++ forbids declaration of 'dfs' with no type [-fpermissive]
13 | dfs(int nod)
| ^~~
main.cpp: In function 'int dfs(int)':
main.cpp:17:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for(int i=0;i<l[nod].size();i++)
| ~^~~~~~~~~~~~~~
main.cpp:24:1: warning: no return statement in function returning non-void [-Wreturn-type]
24 | }
| ^
main.cpp: In function 'int main()':
main.cpp:95:20: warning: unused variable 'crt' [-Wunused-variable]
95 | int maxx=-111, crt, xmax, ymax;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !