Borderou de evaluare (job #3261490)

Utilizator BOSSSTEFANPetrescu Ioan Stefan BOSSSTEFAN Data 6 decembrie 2024 13:20:44
Problema Zoo Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int cbs(int*, int, int)': main.cpp:32:14: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 32 | return v[poz]; | ^~~ main.cpp:20:25: note: 'poz' was declared here 20 | int st = 1, dr = n, poz, mij; | ^~~ main.cpp: In function 'int cbd(int*, int, int)': main.cpp:48:14: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 48 | return v[poz]; | ^~~ main.cpp:36:25: note: 'poz' was declared here 36 | int st = 1, dr = n, poz, mij; | ^~~ In function 'int cbd(int*, int, int)', inlined from 'int main()' at main.cpp:89:17: main.cpp:48:14: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 48 | return v[poz]; | ^~~ main.cpp: In function 'int main()': main.cpp:36:25: note: 'poz' was declared here 36 | int st = 1, dr = n, poz, mij; | ^~~ In function 'int cbs(int*, int, int)', inlined from 'int main()' at main.cpp:90:17: main.cpp:32:14: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 32 | return v[poz]; | ^~~ main.cpp: In function 'int main()': main.cpp:20:25: note: 'poz' was declared here 20 | int st = 1, dr = n, poz, mij; | ^~~ In function 'int cbd(int*, int, int)', inlined from 'int main()' at main.cpp:91:17: main.cpp:48:14: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 48 | return v[poz]; | ^~~ main.cpp: In function 'int main()': main.cpp:36:25: note: 'poz' was declared here 36 | int st = 1, dr = n, poz, mij; | ^~~ In function 'int cbs(int*, int, int)', inlined from 'int main()' at main.cpp:92:17: main.cpp:32:14: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 32 | return v[poz]; | ^~~ main.cpp: In function 'int main()': main.cpp:20:25: note: 'poz' was declared here 20 | int st = 1, dr = n, poz, mij; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
30ms303kbIncorect0
4190ms561kbKilled by Signal 110
519ms552kbIncorect0
619ms663kbKilled by Signal 110
712ms602kbKilled by Signal 110
823ms303kbIncorect0
925ms679kbKilled by Signal 110
1010ms675kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?