Borderou de evaluare (job #1380064)

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

Raport evaluator

Compilare: user.cpp: In function ‘void SetUp()’: user.cpp:14:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fin, "%d", &n); ^ user.cpp:17:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fin, "%d", &a[i][j]); ^ user.cpp:18:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fin, "%d", &t); ^ user.cpp:20:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fin, "%d", &v[i]); ^ 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 ‘short 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
10ms292kbKilled by signal 11(SIGSEGV).0
20ms308kbKilled by signal 11(SIGSEGV).0
30ms312kbKilled by signal 11(SIGSEGV).0
40ms376kbKilled by signal 11(SIGSEGV).0
50ms460kbKilled by signal 11(SIGSEGV).0
60ms464kbKilled by signal 11(SIGSEGV).0
70ms468kbKilled by signal 11(SIGSEGV).0
80ms472kbKilled by signal 11(SIGSEGV).0
90ms264kbKilled by signal 11(SIGSEGV).0
100ms272kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?