Pagini recente » Borderou de evaluare (job #821046) | Borderou de evaluare (job #2056801) | Borderou de evaluare (job #742333) | Borderou de evaluare (job #3215512) | Borderou de evaluare (job #1246582)
Borderou de evaluare (job #1246582)
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 | 252kb | OK | 10 | 10 |
| 2 | 0ms | 260kb | OK | 10 | 10 |
| 3 | 0ms | 492kb | OK | 10 | 10 |
| 4 | 84ms | 3148kb | OK | 10 | 10 |
| 5 | 96ms | 3152kb | OK | 10 | 20 |
| 6 | 600ms | 3780kb | OK | 10 |
| 7 | 596ms | 5088kb | OK | 10 | 10 |
| 8 | 712ms | 6412kb | OK | 10 | 10 |
| 9 | 768ms | 6416kb | OK | 10 | 10 |
| 10 | 876ms | 6408kb | OK | 10 | 10 |
| Punctaj total | 100 |