Borderou de evaluare (job #1380065)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 6 martie 2015 21:34:06
Problema Sudest Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void Code()’: user.cpp:45:27: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses] if(c[1][u] == c[2][u] == n && b[n][n] > maxim){ ^ user.cpp:50:41: warning: statement has no effect [-Wunused-value] b[ic][jc+v[k]] < c[3][p] + a[ic][jc+v[k]]; ^ user.cpp:59:27: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses] if(c[1][u] == c[2][u] == n && b[n][n] > maxim){ ^ user.cpp:65:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int*’ [-Wformat=] fprintf(fout, "%d", &maxim); ^ user.cpp: In function ‘void SetUp()’: user.cpp:14:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ user.cpp:17:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &a[i][j]); ^ user.cpp:18:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &t); ^ user.cpp:20:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms312kbRaspuns gresit!0
20ms380kbRaspuns gresit!0
30ms380kbRaspuns gresit!0
40ms516kbRaspuns gresit!0
50msDepăşitMemory limit exceeded.0
60msDepăşitMemory limit exceeded.0
70msDepăşitMemory limit exceeded.0
80msDepăşitMemory limit exceeded.0
90msDepăşitMemory limit exceeded.0
100ms280kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?