Borderou de evaluare (job #2936782)

Utilizator kerem_uteuKerem Uteu kerem_uteu Data 9 noiembrie 2022 15:12:45
Problema Range minimum query Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 10

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
20ms184kbKilled by Signal 1100
30ms184kbKilled by Signal 1100
44ms446kbKilled by Signal 1100
54ms446kbKilled by Signal 1100
62ms446kbKilled by Signal 110
72ms446kbKilled by Signal 1100
810ms655kbKilled by Signal 1100
99ms602kbKilled by Signal 1100
1010ms634kbKilled by Signal 1100
Punctaj total10

Ceva nu functioneaza?