Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2753433)
| Utilizator | Data | 22 mai 2021 20:55:11 | |
|---|---|---|---|
| Problema | Range minimum query | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
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:24:17: warning: iteration 100003 invokes undefined behavior [-Waggressive-loop-optimizations]
log2[i] = log2[i / 2] + 1;
~~~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:23: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 | 104ms | 4194kb | OK | 10 | 10 |
| 5 | 125ms | 4325kb | OK | 10 | 20 |
| 6 | 623ms | 6946kb | OK | 10 | |
| 7 | 653ms | 8257kb | OK | 10 | 10 |
| 8 | 692ms | 9961kb | OK | 10 | 10 |
| 9 | 857ms | 10092kb | OK | 10 | 10 |
| 10 | 949ms | 10747kb | OK | 10 | 10 |
| Punctaj total | 100 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
