Borderou de evaluare (job #2936799)

Utilizator erixEric stoicescu erix Data 9 noiembrie 2022 15:28:22
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:42:6: warning: unused variable 'k' [-Wunused-variable] 42 | 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
453ms4734kbOK1010
558ms4767kbOK1020
6292ms7491kbOK10
7313ms8998kbOK1010
8371ms10776kbOK1010
9412ms11038kbOK1010
10457ms11563kbOK1010
Punctaj total100

Ceva nu functioneaza?