Borderou de evaluare (job #2561801)
Utilizator | Data | 29 februarie 2020 10:16:31 | |
---|---|---|---|
Problema | Conexidad | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:11:12: error: ISO C++ forbids declaration of 'dfs' with no type [-fpermissive]
dfs(int nod){
^
main.cpp: In function 'int dfs(int)':
main.cpp:15:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<v[nod].size(); i++)
~^~~~~~~~~~~~~~
main.cpp:18:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:47:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<rez.size(); i++)
~^~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !