Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2010588)
Utilizator | Data | 13 august 2017 17:55:37 | |
---|---|---|---|
Problema | Cuplaj maxim de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 30 |
Raport evaluator
Compilare:
user.cpp: In function ‘void addedge(int, int, int, int)’:
user.cpp:43: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, ind};
^
user.cpp:44: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, -1};
^
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++){
^
user.cpp: In function ‘int main()’:
user.cpp:166:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < g[i].size(); j++){
^
Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
---|---|---|---|---|
1 | 0ms | 452kb | Corect | 10 |
2 | 0ms | 448kb | Corect | 10 |
3 | 12ms | 560kb | Corect | 10 |
4 | 12ms | 568kb | Suma costurilor nu este buna | 0 |
5 | 12ms | 564kb | Suma costurilor nu este buna | 0 |
6 | 360ms | 3156kb | Suma costurilor nu este buna | 0 |
7 | 320ms | 3684kb | Suma costurilor nu este buna | 0 |
8 | 540ms | 4212kb | Suma costurilor nu este buna | 0 |
9 | 536ms | 4424kb | Suma costurilor nu este buna | 0 |
10 | 540ms | 4392kb | Suma costurilor nu este buna | 0 |
Punctaj total | 30 |
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !