Pagini recente » Borderou de evaluare (job #1539836) | Cod sursa (job #854501) | Borderou de evaluare (job #1761127) | Borderou de evaluare (job #3120362) | Borderou de evaluare (job #1298784)
Borderou de evaluare (job #1298784)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin, "%d", &arr[i][j]);
^
user.cpp:26: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:35: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:42: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:44:92: warning: array subscript is below array bounds [-Warray-bounds]
else fprintf(fout, "%d\n", max(arr[log(y-x)][x-1], arr[log(y-x)][y - p[log(y-x)] ] ));
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 0ms | 288kb | OK | 10 |
| 3 | 700ms | 524kb | OK | 10 |
| 4 | 656ms | 288kb | OK | 10 |
| 5 | 12ms | Depăşit | Memory limit exceeded. | 0 |
| 6 | 12ms | Depăşit | Memory limit exceeded. | 0 |
| 7 | 16ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 16ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 16ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 16ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 40 |