Borderou de evaluare (job #3037538)

Utilizator ArcopieBirghilescu Alexandru Arcopie Data 25 martie 2023 19:08:33
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int cautare1(int*, int, int, int)': main.cpp:32:1: warning: control reaches end of non-void function [-Wreturn-type] 32 | } | ^ main.cpp: In function 'int cautare2(int*, int, int, int)': main.cpp:43:1: warning: control reaches end of non-void function [-Wreturn-type] 43 | } | ^ main.cpp: In function 'int main()': main.cpp:61:25: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] 61 | if(intrebare==2 && a!=-1)fout<<'\n'<<cautare2(v,1,n,x); | ~~~~~~~~~~~~~^~~~~~~~ main.cpp:51:9: note: 'a' was declared here 51 | int a; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms5275kbMemory limit exceeded00
2253ms303kbTime limit exceeded00
30ms303kbIncorect00
4253ms303kbTime limit exceeded00
5253ms303kbTime limit exceeded00
6253ms561kbTime limit exceeded0
7253ms561kbTime limit exceeded00
8253ms557kbTime limit exceeded0
9253ms557kbTime limit exceeded0
10253ms557kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?