#3580
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 | #62178519 | Utilizator | |
| Fișier | chromosome.cpp | Dimensiune | 2.66 KB |
| Data încărcării | 12 Ianuarie 2026, 19:09 | Scor/rezultat | 10 puncte |
chromosome.cpp: In function 'int main()': chromosome.cpp:54:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(Sol[i].size() < 4 * k || (i == v && C.cost == Sol[v][Sol[v].size() - 1].cost)) ^ chromosome.cpp:72:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 1;i < Sol[v].size();i++) ^ chromosome.cpp:76:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0;i < Sol[v].size();i++) ^ chromosome.cpp: In function 'bool Mai_Mare(int, int)': chromosome.cpp:29:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 2 | 0 secunde | OK. | 5 | 5 | ||
| 3 | 0.008 secunde | Raspuns gresit. | 5 | 0 | ||
| 4 | 0.012 secunde | Raspuns gresit. | 5 | 0 | ||
| 5 | 0.02 secunde | Raspuns gresit. | 5 | 0 | ||
| 6 | 0 secunde | OK. | 5 | 5 | ||
| 7 | 0.012 secunde | Raspuns gresit. | 5 | 0 | ||
| 8 | 0.024 secunde | Raspuns gresit. | 5 | 0 | ||
| 9 | 0.02 secunde | Raspuns gresit. | 5 | 0 | ||
| 10 | 0.008 secunde | Raspuns gresit. | 5 | 0 | ||
| 11 | 0.036 secunde | Raspuns gresit. | 5 | 0 | ||
| 12 | 0.108 secunde | Raspuns gresit. | 5 | 0 | ||
| 13 | 0.132 secunde | Raspuns gresit. | 5 | 0 | ||
| 14 | 0.176 secunde | Raspuns gresit. | 5 | 0 | ||
| 15 | 0.004 secunde | Raspuns gresit. | 5 | 0 | ||
| 16 | 0.02 secunde | Raspuns gresit. | 5 | 0 | ||
| 17 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 18 | 0.032 secunde | Raspuns gresit. | 5 | 0 | ||
| 19 | 0.052 secunde | Raspuns gresit. | 5 | 0 | ||
| 20 | 0.304 secunde | Raspuns gresit. | 5 | 0 | ||
| Punctaj total | 10 | |||||
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ă.