Pagini recente » Borderou de evaluare (job #584114) | Borderou de evaluare (job #2448740) | Borderou de evaluare (job #1759203) | Borderou de evaluare (job #2824495) | Borderou de evaluare (job #3193816)
Borderou de evaluare (job #3193816)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra(int, int)':
main.cpp:38:58: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for(int i = 0; i < portals.size(); i++) {
| ~~^~~~~~~~~~~~~~~~
In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:64,
from /usr/include/c++/12.2.1/bits/specfun.h:45,
from /usr/include/c++/12.2.1/cmath:1935,
from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:41,
from main.cpp:1:
In constructor 'constexpr std::pair<_T1, _T2>::pair(const _T1&, const _T2&) requires _S_constructible<const _T1&, const _T2&>() [with _T1 = int; _T2 = std::pair<int, int>]',
inlined from 'void dijkstra(int, int)' at main.cpp:45:13:
/usr/include/c++/12.2.1/bits/stl_pair.h:272:21: warning: 'choseny' may be used uninitialized [-Wmaybe-uninitialized]
272 | : first(__x), second(__y)
| ^~~~~~~~~~~
main.cpp: In function 'void dijkstra(int, int)':
main.cpp:37:54: note: 'choseny' was declared here
37 | int chosenx, choseny;
| ^~~~~~~
In constructor 'constexpr std::pair<_T1, _T2>::pair(const _T1&, const _T2&) requires _S_constructible<const _T1&, const _T2&>() [with _T1 = int; _T2 = std::pair<int, int>]',
inlined from 'void dijkstra(int, int)' at main.cpp:45:13:
/usr/include/c++/12.2.1/bits/stl_pair.h:272:21: warning: 'chosenx' may be used uninitialized [-Wmaybe-uninitialized]
272 | : first(__x), second(__y)
| ^~~~~~~~~~~
main.cpp: In function 'void dijkstra(int, int)':
main.cpp:37:45: note: 'chosenx' was declared here
37 | int chosenx, choseny;
| ^~~~~~~
main.cpp: In function 'int main()':
main.cpp:100:32: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized]
100 | printf("%d", (dist[x][y] == INF ? -1 : dist[x][y]));
| ~~~~~~~~~^
main.cpp:77:22: note: 'y' was declared here
77 | int a, b, x, y;
| ^
main.cpp:100:32: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized]
100 | printf("%d", (dist[x][y] == INF ? -1 : dist[x][y]));
| ~~~~~~~~~^
main.cpp:77:19: note: 'x' was declared here
77 | int a, b, x, y;
| ^
main.cpp:98:17: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
98 | dijkstra(a, b);
| ~~~~~~~~^~~~~~
main.cpp:77:13: note: 'a' was declared here
77 | int a, b, x, y;
| ^
main.cpp:98:17: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
98 | dijkstra(a, b);
| ~~~~~~~~^~~~~~
main.cpp:77:16: note: 'b' was declared here
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 307kb | OK | 5 |
2 | 0ms | 557kb | OK | 1 |
3 | 4ms | 819kb | OK | 6 |
4 | 19ms | 2646kb | OK | 7 |
5 | 4ms | 2129kb | OK | 8 |
6 | 8ms | 2129kb | OK | 1 |
7 | 13ms | 2457kb | OK | 7 |
8 | 0ms | 557kb | OK | 6 |
9 | 0ms | 557kb | OK | 6 |
10 | 0ms | 557kb | OK | 7 |
11 | 0ms | 557kb | OK | 1 |
12 | 0ms | 557kb | OK | 3 |
13 | 0ms | 557kb | OK | 3 |
14 | 0ms | 557kb | OK | 3 |
15 | 0ms | 557kb | OK | 5 |
16 | 0ms | 557kb | OK | 5 |
17 | 3ms | 1081kb | OK | 1 |
18 | 14ms | 2310kb | OK | 4 |
19 | 19ms | 2678kb | OK | 5 |
20 | 4ms | 1343kb | OK | 2 |
21 | 54ms | 2723kb | Time limit exceeded | 0 |
22 | 0ms | 303kb | OK | 3 |
23 | 0ms | 303kb | OK | 4 |
24 | 0ms | 303kb | OK | 1 |
25 | 1ms | 561kb | OK | 1 |
Punctaj total | 95 |