Borderou de evaluare (job #2609686)

Utilizator smitoiStefan Mitoi smitoi Data 3 mai 2020 00:23:19
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'long long int cautbin()': main.cpp:34:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (v[mij] == x && mij == (n - 1) || v[mij] == x && v[mij + 1] != x) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:53:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (v[mij] <= x && mij == (n - 1) || v[mij] <= x && v[mij + 1] > x) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:72:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (v[mij] >= x && mij == 0 || v[mij] >= x && v[mij - 1] < x) ~~~~~~~~~~~~^~~~~~~~~~~ main.cpp:85:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
22ms131kbOK1010
33ms131kbOK1010
46ms131kbOK1010
529ms393kbOK1020
694ms917kbOK10
7135ms1441kbOK1040
8126ms1441kbOK10
9145ms1441kbOK10
10143ms1441kbOK10
Punctaj total100

Ceva nu functioneaza?