Borderou de evaluare (job #2410441)

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

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
440ms393kbOK10
581ms524kbOK10
6107ms655kbOK10
7117ms786kbOK10
8148ms917kbOK10
9173ms1048kbOK10
10150ms917kbOK10
Punctaj total100

Ceva nu functioneaza?