Pagini recente » Borderou de evaluare (job #1529161) | Borderou de evaluare (job #702832) | Borderou de evaluare (job #31496) | Borderou de evaluare (job #2161020) | Borderou de evaluare (job #3230048)
Borderou de evaluare (job #3230048)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra(int)':
main.cpp:32:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for (int i = 0; i < g[node].size(); i++)
| ~~^~~~~~~~~~~~~~~~
main.cpp:29:13: warning: unused variable 'val' [-Wunused-variable]
29 | int val = s.begin()->first;
| ^~~
main.cpp: In function 'int main()':
main.cpp:57:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
57 | for (int i = 2; i <= n; i++)
| ^~~
main.cpp:62:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
62 | return 0;
| ^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | OK | 10 |
3 | 1ms | 303kb | Incorect | 0 |
4 | 1ms | 557kb | Incorect | 0 |
5 | 9ms | 1605kb | Incorect | 0 |
6 | 19ms | 2846kb | Incorect | 0 |
7 | 29ms | 4276kb | Incorect | 0 |
8 | 69ms | 7675kb | Incorect | 0 |
9 | 44ms | 7090kb | OK | 10 |
10 | 118ms | 10743kb | Incorect | 0 |
Punctaj total | 20 |