#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 | #42611204 | Utilizator | |
Fișier | chromosome.cpp | Dimensiune | 5.81 KB |
Data încărcării | 12 Martie 2023, 15:48 | Scor / rezultat | Eroare de compilare |
chromosome.cpp:138:1: error: 'vector' does not name a type vector <pair <int, int> > L[1001]; ^ chromosome.cpp: In function 'void Read()': chromosome.cpp:157:9: error: 'L' was not declared in this scope L[x].push_back({c, y}); ^ chromosome.cpp: In function 'void BFS()': chromosome.cpp:163:5: error: 'queue' was not declared in this scope queue <int> q; ^ chromosome.cpp:163:5: note: suggested alternative: In file included from /usr/include/c++/4.8/queue:64:0, from chromosome.cpp:4: /usr/include/c++/4.8/bits/stl_queue.h:93:11: note: 'std::queue' class queue ^ chromosome.cpp:163:12: error: expected primary-expression before 'int' queue <int> q; ^ chromosome.cpp:163:12: error: expected ';' before 'int' chromosome.cpp:166:5: error: 'q' was not declared in this scope q.push(u); ^ chromosome.cpp:171:25: error: 'L' was not declared in this scope for(auto vecin: L[cNode]) ^ chromosome.cpp: In function 'void DFS(int, int)': chromosome.cpp:200:19: error: 'L' was not declared in this scope for (auto i : L[node]) ^ chromosome.cpp: In function 'int main()': chromosome.cpp:234:51: error: 'sort' was not declared in this scope sort(Scuiparici + 1, Scuiparici + nrS + 1, CMP); ^ chromosome.cpp:234:51: note: suggested alternative: In file included from /usr/include/c++/4.8/algorithm:62:0, from chromosome.cpp:9: /usr/include/c++/4.8/bits/stl_algo.h:5483:5: note: 'std::sort' sort(_RandomAccessIterator __first, _RandomAccessIterator __last, ^
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ă.