#3580
chromosome
Un grup de geneticieni desfășoară un studiu amplu de analizare a genomului uman, propunându-și să determine serii optime de conexiuni intercromozomiale ale ADN-ului uman.
Problema | chromosome | Operații I/O |
chromosome.in /chromosome.out
|
---|---|---|---|
Limita timp | 1.5 secunde | Limita memorie |
Total: 32 MB
/
Stivă 16 MB
|
Id soluție | #51755130 | Utilizator | |
Fișier | chromosome.cpp | Dimensiune | 3.84 KB |
Data încărcării | 14 August 2024, 14:05 | Scor / rezultat | Eroare de compilare |
chromosome.cpp: In function 'void dijkstra(int, std::vector<std::vector<std::pair<int, int> > >&, std::vector<int>&, std::vector<std::vector<int> >&)': chromosome.cpp:25:14: error: expected unqualified-id before '[' token auto [d, u] = pq.top(); pq.pop(); ^ chromosome.cpp:27:13: error: 'd' was not declared in this scope if (d > dist[u]) continue; ^ chromosome.cpp:27:22: error: 'u' was not declared in this scope if (d > dist[u]) continue; ^ chromosome.cpp:29:19: error: expected unqualified-id before '[' token for (auto [v, w] : adj[u]) { ^ chromosome.cpp:29:19: error: expected ';' before '[' token chromosome.cpp:29:20: error: 'v' was not declared in this scope for (auto [v, w] : adj[u]) { ^ chromosome.cpp:29:23: error: 'w' was not declared in this scope for (auto [v, w] : adj[u]) { ^ chromosome.cpp: In lambda function: chromosome.cpp:29:26: error: expected '{' before ':' token for (auto [v, w] : adj[u]) { ^ chromosome.cpp: In function 'void dijkstra(int, std::vector<std::vector<std::pair<int, int> > >&, std::vector<int>&, std::vector<std::vector<int> >&)': chromosome.cpp:29:26: error: expected ';' before ':' token chromosome.cpp:29:26: error: expected primary-expression before ':' token chromosome.cpp:29:26: error: expected ')' before ':' token chromosome.cpp:29:26: error: expected primary-expression before ':' token chromosome.cpp:29:26: error: expected ';' before ':' token chromosome.cpp:128:1: error: expected '}' at end of input } ^ chromosome.cpp:128:1: error: expected '}' at end of input
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema chromosome face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.