Borderou de evaluare (job #964336)
Utilizator | Data | 20 iunie 2013 17:16:02 | |
---|---|---|---|
Problema | Distante | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void bellford(int, int)’:
user.cpp:64:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i=0; i<graf[nod].size();++i ){
^
user.cpp:66:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(drum[nod]+graf[nod][i].second<drum[graf[nod][i].first])
^
user.cpp: In function ‘int main()’:
user.cpp:97:28: error: ‘memset’ was not declared in this scope
memset(drum,0,sizeof(drum));
^
user.cpp: In function ‘int print(int, int)’:
user.cpp:42:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !