Borderou de evaluare (job #2610540)

Utilizator cristiemanuelstroe cristian emanuel cristiemanuel Data 4 mai 2020 23:50:24
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int cautbin0(int)': main.cpp:23:11: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] if(v[p]==a) ~~~^ main.cpp: In function 'int cautbin1(int)': main.cpp:40:14: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] return p-1; ^ main.cpp: In function 'int cautbin2(int)': main.cpp:55:14: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] return p+1; ^ main.cpp: In function 'int main()': main.cpp:55:14: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] return p+1; ^ main.cpp:45:24: note: 'p' was declared here int st=1,dr=100005,p; ^ main.cpp:40:14: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] return p-1; ^ main.cpp:30:24: note: 'p' was declared here int st=1,dr=100005,p; ^ main.cpp:23:11: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] if(v[p]==a) ~~~^ main.cpp:13:24: note: 'p' was declared here int st=1,dr=100005,p; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbKilled by Signal 1100
22ms131kbKilled by Signal 1100
32ms131kbKilled by Signal 1100
42ms131kbKilled by Signal 1100
54ms131kbKilled by Signal 1100
616ms393kbKilled by Signal 110
723ms524kbKilled by Signal 1100
837ms524kbKilled by Signal 110
925ms524kbKilled by Signal 110
1026ms524kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?