Borderou de evaluare (job #1685635)

Utilizator atatomirTatomir Alex atatomir Data 11 aprilie 2016 19:40:09
Problema Croco Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘bool bellman()’: user.cpp:32:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j; ^ user.cpp: In function ‘void print_sol()’: user.cpp:99:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sol.size(); i++) printf("%d ", sol[i]); ^ user.cpp: In function ‘int main()’: user.cpp:106:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("croco.in","r",stdin); ^ user.cpp:107:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("croco.out","w",stdout); ^ user.cpp:109:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:112:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &C[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
156ms556kbRaspuns gresit0
20ms508kbRaspuns gresit0
30ms512kbRaspuns gresit0
40ms520kbRaspuns gresit0
54ms524kbRaspuns gresit0
68ms532kbRaspuns gresit0
712ms536kbRaspuns gresit0
828ms540kbRaspuns gresit0
916ms548kbRaspuns gresit0
1032ms548kbRaspuns gresit0
Punctaj total0

Ceva nu functioneaza?