Borderou de evaluare (job #2605781)
Utilizator | Data | 25 aprilie 2020 19:48:05 | |
---|---|---|---|
Problema | Autobuze | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:29:20: error: ISO C++ forbids declaration of 'Hash' with no type [-fpermissive]
Hash(int nr,int poz)
^
main.cpp: In function 'int Hash(int, int)':
main.cpp:33:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int giveH(int)':
main.cpp:39:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[idx].size();i++)
~^~~~~~~~~~~~~~
main.cpp:42:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !