Pagini recente » Borderou de evaluare (job #3195518) | Borderou de evaluare (job #2965049) | Borderou de evaluare (job #2781696) | Borderou de evaluare (job #1002403) | Borderou de evaluare (job #2389362)
Borderou de evaluare (job #2389362)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:283:9: warning: unused variable 't' [-Wunused-variable]
int t, p, q;
^
main.cpp: In function 'void cit(int&)':
main.cpp:16: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:19: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:275:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.in", "r", stdin);
^
main.cpp:276:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.out", "w", stdout);
^
main.cpp: In function 'void Build()':
main.cpp:234: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:248:59: warning: array subscript is above array bounds [-Warray-bounds]
tree[poz] = max(tree[poz << 1], tree[poz << 1 | 1]);
^
main.cpp:248:59: warning: array subscript is above array bounds [-Warray-bounds]
main.cpp:248: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 | 2ms | 131kb | OK | 10 | 10 |
3 | 3ms | 262kb | OK | 10 | 10 |
4 | 26ms | 1310kb | OK | 10 | 10 |
5 | 30ms | 1441kb | OK | 10 | 20 |
6 | 157ms | 3801kb | OK | 10 |
7 | 181ms | 3932kb | OK | 10 | 10 |
8 | 189ms | 4587kb | OK | 10 | 10 |
9 | 211ms | 4849kb | OK | 10 | 10 |
10 | 231ms | 5242kb | OK | 10 | 10 |
Punctaj total | 100 |