Borderou de evaluare (job #3184584)

Utilizator AlexMol089Alex Moldoveanu AlexMol089 Data 16 decembrie 2023 11:56:16
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int cb0(int, int, int)': main.cpp:17:9: warning: unused variable 'poz' [-Wunused-variable] 17 | int poz,m; | ^~~ main.cpp: In function 'int cb1(int, int, int)': main.cpp:42:9: warning: unused variable 'poz' [-Wunused-variable] 42 | int poz,m; | ^~~ main.cpp: In function 'int cb2(int, int, int)': main.cpp:63:9: warning: unused variable 'poz' [-Wunused-variable] 63 | int poz,m; | ^~~ main.cpp: In function 'int main()': main.cpp:84:13: warning: unused variable 'j' [-Wunused-variable] 84 | int n,i,j,x,m,t; | ^ main.cpp: In function 'int cb0(int, int, int)': main.cpp:30:11: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized] 30 | if(v[m]>x) | ~~~^ main.cpp:17:13: note: 'm' was declared here 17 | int poz,m; | ^ main.cpp: In function 'int cb1(int, int, int)': main.cpp:55:11: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized] 55 | if(v[m]>x) | ~~~^ main.cpp:42:13: note: 'm' was declared here 42 | int poz,m; | ^ main.cpp: In function 'int cb2(int, int, int)': main.cpp:76:11: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized] 76 | if(v[m]>x) | ~~~^ main.cpp:63:13: note: 'm' was declared here 63 | int poz,m; | ^ In function 'int cb0(int, int, int)', inlined from 'int main()' at main.cpp:96:31: main.cpp:30:11: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized] 30 | if(v[m]>x) | ~~~^ main.cpp: In function 'int main()': main.cpp:17:13: note: 'm' was declared here 17 | int poz,m; | ^ In function 'int cb1(int, int, int)', inlined from 'int main()' at main.cpp:100:31: main.cpp:55:11: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized] 55 | if(v[m]>x)
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbIncorect00
20ms303kbIncorect00
30ms303kbIncorect00
41ms303kbIncorect00
53ms438kbKilled by Signal 1100
64ms438kbKilled by Signal 110
74ms442kbKilled by Signal 1100
84ms442kbKilled by Signal 110
910ms446kbKilled by Signal 110
1010ms442kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?