Borderou de evaluare (job #3218403)

Utilizator RaduCalisovCalisovRadu RaduCalisov Data 27 martie 2024 10:06:49
Problema Delfin Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'void bfs(int, int)': main.cpp:22:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 22 | if(c[yy][xx]==-1 or finy==yy and finx==xx){ | ~~~~~~~~~^~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:68:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 68 | if(dpD[yy][xx]>0 or yy==yd and xx==xd){ | ~~~~~~~^~~~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:64, from /usr/include/c++/12.2.1/string:50, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/istream:38, from /usr/include/c++/12.2.1/fstream:38, from main.cpp:1: In constructor 'constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = int&; _U2 = int&; _T1 = int; _T2 = int]', inlined from 'int main()' at main.cpp:57:17: /usr/include/c++/12.2.1/bits/stl_pair.h:281:42: warning: 'xt' may be used uninitialized [-Wmaybe-uninitialized] 281 | : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:35:18: note: 'xt' was declared here 35 | int yd,xd,yt,xt; | ^~ In constructor 'constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = int&; _U2 = int&; _T1 = int; _T2 = int]', inlined from 'int main()' at main.cpp:57:17: /usr/include/c++/12.2.1/bits/stl_pair.h:281:11: warning: 'yt' may be used uninitialized [-Wmaybe-uninitialized] 281 | : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:35:15: note: 'yt' was declared here 35 | int yd,xd,yt,xt; | ^~ main.cpp:68:44: warning: 'xd' may be used uninitialized [-Wmaybe-uninitialized] 68 | if(dpD[yy][xx]>0 or yy==yd and xx==xd){ | ~~~~~~~^~~~~~~~~~ main.cpp:35:12: note: 'xd' was declared here 35 | int yd,xd,yt,xt; | ^~ main.cpp:68:34: warning: 'yd' may be used uninitialized [-Wmaybe-uninitialized] 68 | if(dpD[yy][xx]>0 or yy==yd and xx==xd){ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ main.cpp:35:9: note: 'yd' was declared here 35 | int yd,xd,yt,xt; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
210ms303kbOK!00
220ms303kbOK!00
230ms303kbOK!00
10ms303kbOK!55
20ms303kbRaspuns gresit!00
30ms303kbRaspuns gresit!00
40ms303kbRaspuns gresit!00
50ms557kbRaspuns gresit!00
60ms557kbRaspuns gresit!00
70ms823kbRaspuns gresit!00
80ms819kbRaspuns gresit!00
90ms819kbRaspuns gresit!00
100ms1081kbRaspuns gresit!00
113ms4227kbRaspuns gresit!00
124ms5013kbRaspuns gresit!00
1319ms11857kbRaspuns gresit!00
1424ms17309kbRaspuns gresit!00
1544ms22605kbOK!55
1664ms25624kbRaspuns gresit!00
1734ms15376kbRaspuns gresit!0
1814ms9838kbRaspuns gresit!0
1964ms27406kbRaspuns gresit!0
200ms1081kbRaspuns gresit!0
Punctaj total10

Ceva nu functioneaza?