Pagini recente » Borderou de evaluare (job #2293086) | Borderou de evaluare (job #559715) | Borderou de evaluare (job #1246578)
Borderou de evaluare (job #1246578)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:67: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:76: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:83: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:85:92: warning: array subscript is below array bounds [-Warray-bounds]
else fprintf(fout, "%d\n", min(arr[log(y-x)][x-1], arr[log(y-x)][y - p[log(y-x)] ] ));
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 256kb | OK | 10 | 10 |
| 2 | 0ms | 252kb | OK | 10 | 10 |
| 3 | 0ms | 492kb | OK | 10 | 10 |
| 4 | 84ms | 3148kb | OK | 10 | 10 |
| 5 | 96ms | 3148kb | OK | 10 | 20 |
| 6 | 600ms | 3776kb | OK | 10 |
| 7 | 592ms | 5084kb | OK | 10 | 10 |
| 8 | 720ms | 6420kb | OK | 10 | 10 |
| 9 | 784ms | 6412kb | OK | 10 | 10 |
| 10 | 868ms | 6408kb | OK | 10 | 10 |
| Punctaj total | 100 |