Pagini recente » Borderou de evaluare (job #595813) | Borderou de evaluare (job #2367747) | Borderou de evaluare (job #272812) | Borderou de evaluare (job #1077957) | Borderou de evaluare (job #3157276)
Borderou de evaluare (job #3157276)
Raport evaluator
Compilare:
main.cpp: In function 'MinimumSpanningTree minimum_spanning_tree(const Graph&)':
main.cpp:44:32: warning: loop variable '<structured bindings>' creates a copy from type 'const std::pair<int, int>' [-Wrange-loop-construct]
44 | for (const auto[adj_cost, adj_node] : graph[node])
| ^~~~~~~~~~~~~~~~~~~~
main.cpp:44:32: note: use reference type to prevent copying
44 | for (const auto[adj_cost, adj_node] : graph[node])
| ^~~~~~~~~~~~~~~~~~~~
| &
main.cpp: In function 'int main()':
main.cpp:72:20: warning: loop variable '<structured bindings>' creates a copy from type 'const std::pair<int, int>' [-Wrange-loop-construct]
72 | for (const auto[node1, node2] : mst.edges)
| ^~~~~~~~~~~~~~
main.cpp:72:20: note: use reference type to prevent copying
72 | for (const auto[node1, node2] : mst.edges)
| ^~~~~~~~~~~~~~
| &
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Corect | 10 |
| 2 | 0ms | 303kb | Corect | 10 |
| 3 | 0ms | 303kb | Corect | 10 |
| 4 | 0ms | 303kb | Corect | 10 |
| 5 | 0ms | 303kb | Corect | 10 |
| 6 | 39ms | 4935kb | Corect | 10 |
| 7 | 84ms | 10866kb | Corect | 10 |
| 8 | 14ms | 2420kb | Corect | 10 |
| 9 | 9ms | 1867kb | Corect | 10 |
| 10 | 74ms | 8470kb | Corect | 10 |
| Punctaj total | 100 |