Borderou de evaluare (job #1380064)
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 |
1 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 376kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 460kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 464kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 468kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 472kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 264kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |