Borderou de evaluare (job #2610545)

Utilizator cristiemanuelstroe cristian emanuel cristiemanuel Data 4 mai 2020 23:52:48
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
22ms131kbKilled by Signal 1100
32ms131kbKilled by Signal 1100
42ms131kbKilled by Signal 1100
55ms131kbKilled by Signal 1100
615ms393kbKilled by Signal 110
723ms524kbKilled by Signal 1100
824ms524kbKilled by Signal 110
932ms524kbKilled by Signal 110
1033ms524kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?