Borderou de evaluare (job #1685646)

Utilizator atatomirTatomir Alex atatomir Data 11 aprilie 2016 19:46:25
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
1236ms560kbRaspuns gresit0
20ms512kbRaspuns gresit0
30ms520kbRaspuns gresit0
44ms524kbRaspuns gresit0
512ms532kbRaspuns gresit0
628ms536kbRaspuns gresit0
752ms540kbRaspuns gresit0
8136ms544kbRaspuns gresit0
968ms544kbRaspuns gresit0
10128ms556kbRaspuns gresit0
Punctaj total0

Ceva nu functioneaza?