Borderou de evaluare (job #2334534)

Utilizator anahita2004Anahita anahita2004 Data 2 februarie 2019 18:12:04
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int cbin(int)': main.cpp:16:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp:11:9: warning: 'n' is used uninitialized in this function [-Wuninitialized] if(pos+msk<=n && v[pos+msk]<=val) ^~ main.cpp: In function 'int main()': main.cpp:11:9: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] if(pos+msk<=n && v[pos+msk]<=val) ^~ main.cpp:9:15: note: 'n' was declared here int pos=0,n; ^ main.cpp:11:9: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] if(pos+msk<=n && v[pos+msk]<=val) ^~ main.cpp:9:15: note: 'n' was declared here int pos=0,n; ^ main.cpp:11:9: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] if(pos+msk<=n && v[pos+msk]<=val) ^~ main.cpp:9:15: note: 'n' was declared here int pos=0,n; ^ main.cpp:11:9: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] if(pos+msk<=n && v[pos+msk]<=val) ^~ main.cpp:9:15: note: 'n' was declared here int pos=0,n; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbIncorect00
22ms131kbIncorect00
33ms131kbIncorect00
46ms131kbIncorect00
523ms393kbIncorect00
670ms786kbIncorect0
7113ms1179kbIncorect00
884ms1179kbIncorect0
9109ms1179kbIncorect0
10110ms1179kbIncorect0
Punctaj total0

Ceva nu functioneaza?