Pagini recente » Borderou de evaluare (job #303524) | Borderou de evaluare (job #1747445) | Borderou de evaluare (job #989406) | Borderou de evaluare (job #71757) | Borderou de evaluare (job #3145774)
Borderou de evaluare (job #3145774)
Raport evaluator
Compilare:
main.cpp: In function 'int BellmanFord(int, int, int, int)':
main.cpp:37:17: warning: narrowing conversion of 'start' from 'int' to 'char' [-Wnarrowing]
37 | q.push({start, w});
| ^~~~~
main.cpp:37:24: warning: narrowing conversion of 'w' from 'int' to 'short int' [-Wnarrowing]
37 | q.push({start, w});
| ^
main.cpp:52:55: warning: array subscript has type 'char' [-Wchar-subscripts]
52 | if(min_time[neighbour.node][watts - neighbour.cost] > min_time[node][watts] + neighbour.time){
| ~~~~~~~~~~^~~~
main.cpp:53:60: warning: array subscript has type 'char' [-Wchar-subscripts]
53 | min_time[neighbour.node][watts - neighbour.cost] = min_time[node][watts] + neighbour.time;
| ~~~~~~~~~~^~~~
main.cpp:54:71: warning: narrowing conversion of '(watts - ((int)neighbour.Edge::cost))' from 'int' to 'short int' [-Wnarrowing]
54 | q.push({neighbour.node, watts - neighbour.cost});
| ~~~~~~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:81:36: warning: narrowing conversion of 'b' from 'int' to 'char' [-Wnarrowing]
81 | edge[a].push_back({b, t, w});
| ^
main.cpp:81:39: warning: narrowing conversion of 't' from 'int' to 'char' [-Wnarrowing]
81 | edge[a].push_back({b, t, w});
| ^
main.cpp:81:42: warning: narrowing conversion of 'w' from 'int' to 'short int' [-Wnarrowing]
81 | edge[a].push_back({b, t, w});
| ^
main.cpp:82:36: warning: narrowing conversion of 'a' from 'int' to 'char' [-Wnarrowing]
82 | edge[b].push_back({a, t, w});
| ^
main.cpp:82:39: warning: narrowing conversion of 't' from 'int' to 'char' [-Wnarrowing]
82 | edge[b].push_back({a, t, w});
| ^
main.cpp:82:42: warning: narrowing conversion of 'w' from 'int' to 'short int' [-Wnarrowing]
82 | edge[b].push_back({a, t, w});
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 4ms | 557kb | OK | 10 |
| 3 | 1ms | 303kb | OK | 10 |
| 4 | 9ms | 303kb | OK | 10 |
| 5 | 9ms | 303kb | OK | 10 |
| 6 | 14ms | 557kb | OK | 10 |
| 7 | 14ms | 303kb | OK | 10 |
| 8 | 0ms | 303kb | OK | 10 |
| 9 | 0ms | 303kb | OK | 10 |
| 10 | 2ms | 303kb | OK | 10 |
| Punctaj total | 100 |