Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2010540)
| Utilizator | Data | 13 august 2017 15:29:37 | |
|---|---|---|---|
| Problema | Cc | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 50 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘void addedge(int, int, int)’:
user.cpp:42:34: warning: narrowing conversion of ‘g[to].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()’ from ‘std::vector<Edge>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
Edge direct = {to, g[to].size(), 0, 1, cost};
^
user.cpp:43:38: warning: narrowing conversion of ‘g[from].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()’ from ‘std::vector<Edge>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
Edge inverse = {from, g[from].size(), 0, 0, -cost};
^
user.cpp: In function ‘void bellmanford()’:
user.cpp:61:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < g[from].size(); i++) {
^
user.cpp: In function ‘void dijkstra()’:
user.cpp:92:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < g[from].size(); i++){
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 440kb | OK | 10 |
| 2 | 0ms | 448kb | OK | 10 |
| 3 | 0ms | 448kb | OK | 10 |
| 4 | 0ms | 488kb | OK | 10 |
| 5 | 4ms | 560kb | Incorect | 0 |
| 6 | 16ms | 780kb | Incorect | 0 |
| 7 | 28ms | 780kb | Incorect | 0 |
| 8 | 32ms | 780kb | Incorect | 0 |
| 9 | 12ms | 780kb | OK | 10 |
| 10 | 24ms | 780kb | Incorect | 0 |
| Punctaj total | 50 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
