Pagini recente » Borderou de evaluare (job #1703936) | Borderou de evaluare (job #1959484) | Cod sursa (job #1908747) | Borderou de evaluare (job #2211586) | Borderou de evaluare (job #2021795)
Borderou de evaluare (job #2021795)
Raport evaluator
Compilare:
user.cpp: In function ‘void addedge(int, int)’:
user.cpp:25:32: warning: narrowing conversion of ‘g[j].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()’ from ‘std::vector<Edge>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
Edge direct = {j, g[j].size(), 0, 1};
^
user.cpp:26:40: warning: narrowing conversion of ‘g[(i + n)].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()’ from ‘std::vector<Edge>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
Edge inverse = {i + n, g[i + n].size(), 0, 0};
^
user.cpp: In function ‘void read()’:
user.cpp:42:42: warning: narrowing conversion of ‘g[(i + n)].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()’ from ‘std::vector<Edge>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
g[i].push_back({i + n, g[i + n].size(), 0, 1});
^
user.cpp:43:38: warning: narrowing conversion of ‘g[i].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()’ from ‘std::vector<Edge>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
g[i + n].push_back({i, g[i].size(), 0, 0});
^
user.cpp: In function ‘bool bfs()’:
user.cpp:57:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < g[from].size(); i++){
^
user.cpp: In function ‘int dfs(int, int)’:
user.cpp:75:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = rem[from]; i < g[from].size(); i++) {
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 460kb | Incorect | 0 | 0 |
| 2 | 0ms | 464kb | Incorect | 0 |
| 3 | 0ms | 464kb | OK | 4 |
| 4 | 0ms | 476kb | Incorect | 0 |
| 5 | 0ms | 472kb | Incorect | 0 |
| 6 | 0ms | 488kb | Incorect | 0 |
| 7 | 0ms | 500kb | Incorect | 0 |
| 8 | 0ms | 480kb | OK | 4 |
| 9 | 8ms | 536kb | Incorect | 0 |
| 10 | 8ms | 540kb | Incorect | 0 |
| 11 | 28ms | 576kb | Incorect | 0 |
| 12 | 12ms | 576kb | Incorect | 0 |
| 13 | 20ms | 604kb | Incorect | 0 |
| 14 | 0ms | 460kb | OK | 4 |
| 15 | 16ms | 576kb | Incorect | 0 |
| 16 | 48ms | 580kb | Incorect | 0 |
| 17 | 56ms | 708kb | Incorect | 0 |
| 18 | 0ms | 516kb | Incorect | 0 |
| 19 | 76ms | 696kb | Incorect | 0 |
| 20 | 0ms | 464kb | OK | 4 |
| 21 | 36ms | 632kb | Incorect | 0 |
| 22 | 28ms | 608kb | Incorect | 0 |
| 23 | 0ms | 464kb | Incorect | 0 |
| 24 | 80ms | 576kb | Incorect | 0 |
| 25 | 52ms | 576kb | Incorect | 0 |
| Punctaj total | 0 |