Pagini recente » Borderou de evaluare (job #638571) | Borderou de evaluare (job #784265) | Borderou de evaluare (job #3239623) | Borderou de evaluare (job #113494) | Borderou de evaluare (job #3218403)
Borderou de evaluare (job #3218403)
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 |
21 | 0ms | 303kb | OK! | 0 | 0 |
22 | 0ms | 303kb | OK! | 0 | 0 |
23 | 0ms | 303kb | OK! | 0 | 0 |
1 | 0ms | 303kb | OK! | 5 | 5 |
2 | 0ms | 303kb | Raspuns gresit! | 0 | 0 |
3 | 0ms | 303kb | Raspuns gresit! | 0 | 0 |
4 | 0ms | 303kb | Raspuns gresit! | 0 | 0 |
5 | 0ms | 557kb | Raspuns gresit! | 0 | 0 |
6 | 0ms | 557kb | Raspuns gresit! | 0 | 0 |
7 | 0ms | 823kb | Raspuns gresit! | 0 | 0 |
8 | 0ms | 819kb | Raspuns gresit! | 0 | 0 |
9 | 0ms | 819kb | Raspuns gresit! | 0 | 0 |
10 | 0ms | 1081kb | Raspuns gresit! | 0 | 0 |
11 | 3ms | 4227kb | Raspuns gresit! | 0 | 0 |
12 | 4ms | 5013kb | Raspuns gresit! | 0 | 0 |
13 | 19ms | 11857kb | Raspuns gresit! | 0 | 0 |
14 | 24ms | 17309kb | Raspuns gresit! | 0 | 0 |
15 | 44ms | 22605kb | OK! | 5 | 5 |
16 | 64ms | 25624kb | Raspuns gresit! | 0 | 0 |
17 | 34ms | 15376kb | Raspuns gresit! | 0 |
18 | 14ms | 9838kb | Raspuns gresit! | 0 |
19 | 64ms | 27406kb | Raspuns gresit! | 0 |
20 | 0ms | 1081kb | Raspuns gresit! | 0 |
Punctaj total | 10 |