Pagini recente » Borderou de evaluare (job #1843327) | Borderou de evaluare (job #3131382) | Borderou de evaluare (job #1358971) | Borderou de evaluare (job #1361344) | Borderou de evaluare (job #1298786)
Borderou de evaluare (job #1298786)
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 ‘unsigned char*’ [-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 | 260kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 720ms | 400kb | OK | 10 |
4 | 668ms | 276kb | Incorect | 0 |
5 | 88ms | 1000kb | Incorect | 0 |
6 | 48ms | 1008kb | Incorect | 0 |
7 | 776ms | 1000kb | Incorect | 0 |
8 | 768ms | 1000kb | Incorect | 0 |
9 | 784ms | 1004kb | Incorect | 0 |
10 | 772ms | 1008kb | Incorect | 0 |
Punctaj total | 30 |