Borderou de evaluare (job #2936784)

Utilizator kerem_uteuKerem Uteu kerem_uteu Data 9 noiembrie 2022 15:13:34
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:38:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 38 | for(int i=2; i<=MAX; i++) | ^~~ main.cpp:41:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 41 | buildSparseTable(a, n); | ^~~~~~~~~~~~~~~~ main.cpp:43:6: warning: unused variable 'k' [-Wunused-variable] 43 | int k = lg[n]; | ^ main.cpp:39:15: warning: iteration 100000 invokes undefined behavior [-Waggressive-loop-optimizations] 39 | lg[i] = 1 + lg[i/2]; | ~~~~~~^~~~~~~~~~~~~ main.cpp:38:19: note: within this loop 38 | for(int i=2; i<=MAX; i++) | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms184kbOK1010
20ms184kbOK1010
30ms184kbOK1010
452ms4681kbOK1010
559ms4743kbOK1020
6295ms7507kbOK10
7315ms9003kbOK1010
8371ms10776kbOK1010
9415ms11038kbOK1010
10460ms11563kbOK1010
Punctaj total100

Ceva nu functioneaza?