Pagini recente » Borderou de evaluare (job #1472836) | Borderou de evaluare (job #1570134) | Borderou de evaluare (job #99487) | Borderou de evaluare (job #1869601) | Borderou de evaluare (job #3184178)
Borderou de evaluare (job #3184178)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra(int*)':
main.cpp:37:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for(i=0; i<v[nod].size(); i++)
| ~^~~~~~~~~~~~~~
main.cpp:18:30: warning: unused variable 't1' [-Wunused-variable]
18 | int i, nod, vecin, cost, t1, t2;
| ^~
main.cpp:18:34: warning: unused variable 't2' [-Wunused-variable]
18 | int i, nod, vecin, cost, t1, t2;
| ^~
main.cpp: In function 'int main()':
main.cpp:55:21: warning: unused variable 's' [-Wunused-variable]
55 | int i, a, b, c, s, min_cost=inf, x;
| ^
main.cpp:55:24: warning: unused variable 'min_cost' [-Wunused-variable]
55 | int i, a, b, c, s, min_cost=inf, x;
| ^~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 10 |
2 | 1ms | 557kb | Incorect | 0 |
3 | 2ms | 819kb | OK | 10 |
4 | 0ms | 303kb | OK | 10 |
5 | 6ms | 1605kb | Incorect | 0 |
6 | 9ms | 2392kb | Incorect | 0 |
7 | 1ms | 819kb | OK | 10 |
8 | 3ms | 1081kb | Incorect | 0 |
9 | 9ms | 2129kb | Incorect | 0 |
10 | 24ms | 3997kb | Incorect | 0 |
Punctaj total | 40 |