Pagini recente » Borderou de evaluare (job #845322) | Borderou de evaluare (job #2366045) | Borderou de evaluare (job #420207) | Borderou de evaluare (job #884640) | Borderou de evaluare (job #2942318)
Borderou de evaluare (job #2942318)
Raport evaluator
Compilare:
main.cpp: In function 'std::pair<int, std::vector<std::pair<int, int> > > FindMst(int, std::vector<std::tuple<int, int, int> >&)':
main.cpp:43:22: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
43 | for (const auto& [a, b, cost] : edges) {
| ^
main.cpp: In function 'int main()':
main.cpp:60:16: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
60 | for (auto& [a, b, cost] : graph) {
| ^
main.cpp:66:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
66 | auto [cost, mst] = FindMst(nodes, graph);
| ^
main.cpp:69:22: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
69 | for (const auto& [a, b] : mst) {
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | Corect | 10 |
2 | 0ms | 184kb | Corect | 10 |
3 | 0ms | 184kb | Corect | 10 |
4 | 0ms | 184kb | Corect | 10 |
5 | 0ms | 184kb | Corect | 10 |
6 | 45ms | 2105kb | Corect | 10 |
7 | 84ms | 4055kb | Corect | 10 |
8 | 13ms | 884kb | Corect | 10 |
9 | 12ms | 839kb | Corect | 10 |
10 | 74ms | 3338kb | Corect | 10 |
Punctaj total | 100 |