Borderou de evaluare (job #2334548)

Utilizator alex.cristi_26patica alex alex.cristi_26 Data 2 februarie 2019 18:15:53
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int cerinta1(int)': main.cpp:25:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp:21:9: warning: 'n' is used uninitialized in this function [-Wuninitialized] if(pos+msk<=n && v[pos+msk]<=val) ^~ main.cpp: In function 'int cerinta2(int)': main.cpp:30: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:21:9: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] if(pos+msk<=n && v[pos+msk]<=val) ^~ main.cpp:19:15: note: 'n' was declared here int pos=0,n; ^ main.cpp:30:9: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] if(pos+msk<=n && v[pos+msk]<=val) ^~ main.cpp:28:15: note: 'n' was declared here int pos=0,n; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbIncorect00
22ms131kbIncorect00
33ms131kbIncorect00
44ms131kbIncorect00
515ms131kbIncorect00
648ms393kbIncorect0
771ms524kbIncorect00
874ms524kbIncorect0
976ms524kbIncorect0
1067ms655kbIncorect0
Punctaj total0

Ceva nu functioneaza?