Pagini recente » Borderou de evaluare (job #2397226) | Borderou de evaluare (job #2159387) | Borderou de evaluare (job #2260104) | Borderou de evaluare (job #1709588) | Borderou de evaluare (job #2979687)
Borderou de evaluare (job #2979687)
Raport evaluator
Compilare:
main.cpp: In function 'int dijkstra(int, int)':
main.cpp:24:18: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
24 | for(auto [son, t, w] : g[node])
| ^
main.cpp: In function 'int solve(int, int, int)':
main.cpp:41:18: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
41 | for(auto [son, t, w] : g[node]) {
| ^
main.cpp: In function 'int main()':
main.cpp:60:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'bool*' [-Wformat=]
60 | scanf("%d", &isBase[i]);
| ~^ ~~~~~~~~~~
| | |
| | bool*
| int*
main.cpp:78:11: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized]
78 | printf("%d", last);
| ~~~~~~^~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | OK | 10 |
2 | 41ms | 819kb | Incorect | 0 |
3 | 0ms | 184kb | Incorect | 0 |
4 | 102ms | 655kb | Time limit exceeded | 0 |
5 | 79ms | 802kb | Incorect | 0 |
6 | 104ms | 1060kb | Time limit exceeded | 0 |
7 | 101ms | 2781kb | Time limit exceeded | 0 |
8 | 0ms | 184kb | OK | 10 |
9 | 0ms | 184kb | Incorect | 0 |
10 | 11ms | 352kb | Incorect | 0 |
Punctaj total | 20 |