Borderou de evaluare (job #2410439)

Utilizator AndreiTudorSpiruAndrei Spiru AndreiTudorSpiru Data 20 aprilie 2019 08:32:21
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int query2(int)': main.cpp:36:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(step = 1; step<n ; step <<= 1); ^~~ main.cpp:39:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for(i=0; step; step >>= 1) ^~~ main.cpp:34:16: warning: unused variable 'poz' [-Wunused-variable] int step,i,poz=0; ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
24ms131kbOK10
311ms131kbOK10
42ms131kbKilled by Signal 110
53ms131kbKilled by Signal 110
62ms131kbKilled by Signal 110
72ms131kbKilled by Signal 110
82ms131kbKilled by Signal 110
92ms131kbKilled by Signal 110
102ms131kbKilled by Signal 110
Punctaj total30

Ceva nu functioneaza?