Pagini recente » Borderou de evaluare (job #62790) | Borderou de evaluare (job #45429) | Borderou de evaluare (job #1861126) | Borderou de evaluare (job #1227915) | Borderou de evaluare (job #1246542)
Borderou de evaluare (job #1246542)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin, "%d %d", &n, &m);
^
user.cpp:21:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:30:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin, "%d", &arr[i][j]);
^
user.cpp:37:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin, "%d%d", &x, &y);
^
user.cpp:37:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:21:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &n, &m);
^
user.cpp:30:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &arr[i][j]);
^
user.cpp:37:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &x, &y);
^
user.cpp:38:91: warning: array subscript is below array bounds [-Warray-bounds]
fprintf(fout, "%d\n", min(arr[log(y-x)][x-1], arr[log(y-x)][y - power[log(y-x)]]));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 252kb | Incorect | 0 | 0 |
2 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
3 | 0ms | 460kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
4 | 16ms | 3056kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 16ms | 3060kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 20ms | 3648kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 24ms | 5000kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 32ms | 6256kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 32ms | 6252kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
10 | 32ms | 6252kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
Punctaj total | 0 |