Pagini recente » Borderou de evaluare (job #2941248) | Borderou de evaluare (job #873715) | Borderou de evaluare (job #44592) | Borderou de evaluare (job #2154842) | Borderou de evaluare (job #2393497)
Borderou de evaluare (job #2393497)
Raport evaluator
Compilare:
main.cpp: In function 'void cit(int&)':
main.cpp:31:58: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if (++pz == dim) fread(ax, 1, dim, stdin), pz = 0;
^
main.cpp:37:58: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if (++pz == dim) fread(ax, 1, dim, stdin), pz = 0;
^
main.cpp: In function 'int main()':
main.cpp:549:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.in", "r", stdin);
^
main.cpp:551:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.out", "w", stdout);
^
main.cpp: In function 'void Build()':
main.cpp:467:15: warning: array subscript is outside array bounds [-Warray-bounds]
tree[i] = max(tree[i << 1], tree[i << 1 | 1]);
~~~~~~^
main.cpp: In function 'void Update(int, int)':
main.cpp:495:59: warning: array subscript is above array bounds [-Warray-bounds]
tree[poz] = max(tree[poz << 1], tree[poz << 1 | 1]);
^
main.cpp:495:59: warning: array subscript is above array bounds [-Warray-bounds]
main.cpp:495:17: warning: array subscript is above array bounds [-Warray-bounds]
tree[poz] = max(tree[poz << 1], tree[poz << 1 | 1]);
~~~~~~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 4ms | 262kb | OK | 10 | 10 |
3 | 5ms | 262kb | OK | 10 | 10 |
4 | 11ms | 393kb | OK | 10 | 10 |
5 | 15ms | 1179kb | OK | 10 | 10 |
6 | 17ms | 1441kb | OK | 10 | 50 |
7 | 38ms | 2752kb | OK | 10 |
8 | 36ms | 1835kb | OK | 10 |
9 | 37ms | 1835kb | OK | 10 |
10 | 38ms | 1966kb | OK | 10 |
Punctaj total | 100 |