Borderou de evaluare (job #2610542)

Utilizator cristiemanuelstroe cristian emanuel cristiemanuel Data 4 mai 2020 23:51:16
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=100000,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
13ms131kbKilled by Signal 1100
23ms131kbKilled by Signal 1100
33ms131kbKilled by Signal 1100
42ms131kbKilled by Signal 1100
54ms131kbKilled by Signal 1100
613ms393kbKilled by Signal 110
730ms524kbKilled by Signal 1100
824ms524kbKilled by Signal 110
932ms524kbKilled by Signal 110
1032ms524kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?