Pagini recente » Borderou de evaluare (job #2878344) | Borderou de evaluare (job #85860) | Borderou de evaluare (job #351393) | Borderou de evaluare (job #2618093) | Borderou de evaluare (job #2753422)
Borderou de evaluare (job #2753422)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10: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:11: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:22:17: warning: iteration 100003 invokes undefined behavior [-Waggressive-loop-optimizations]
log2[i] = log2[i / 2] + 1;
~~~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:21:23: note: within this loop
for (int i = 2; i <= nMax; i++) {
~~^~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 524kb | OK | 10 | 10 |
2 | 3ms | 524kb | OK | 10 | 10 |
3 | 6ms | 917kb | OK | 10 | 10 |
4 | 98ms | 4194kb | OK | 10 | 10 |
5 | 120ms | 4325kb | OK | 10 | 20 |
6 | 538ms | 6963kb | OK | 10 |
7 | 550ms | 8257kb | OK | 10 | 10 |
8 | 665ms | 9830kb | OK | 10 | 10 |
9 | 728ms | 10092kb | OK | 10 | 10 |
10 | 817ms | 10616kb | OK | 10 | 10 |
Punctaj total | 100 |