#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 | #55088422 | Utilizator | |
Fișier | chromosome.cpp | Dimensiune | 2.83 KB |
Data încărcării | 21 Decembrie 2024, 22:27 | Scor / rezultat | 20 puncte |
chromosome.cpp: In function 'void DFSmindenhova(std::vector<std::vector<utesar> >&, int&, int, int*, std::vector<int>&, std::vector<std::vector<int> >&, int*)': chromosome.cpp:40:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<ut.size()-1; i++) ^ chromosome.cpp:43:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int s=0; s<szomszli[ut[i]].size(); s++) ^ chromosome.cpp:57:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<szomszli[akt].size(); i++) ^ chromosome.cpp: In function 'int main()': chromosome.cpp:110:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0; j<osszut.size(); j++){ ^ chromosome.cpp:111:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<osszut.size()-1; i++){ ^ chromosome.cpp:118:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(osszut.size()<c) ^ chromosome.cpp:123:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<c&&i<osszut.size(); i++){ ^ chromosome.cpp:125:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0; j<osszut[i].size(); j++){ ^ chromosome.cpp:131:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<osszut.size(); i++){ ^ chromosome.cpp:135:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<osszut.size(); i++){ ^ chromosome.cpp:136:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0; j<osszut[i].size(); j++){ ^ chromosome.cpp: In function 'void DFSmindenhova(std::vector<std::vector<utesar> >&, int&, int, int*, std::vector<int>&, std::vector<std::vector<int> >&, int*)': chromosome.cpp:50:54: warning: 'seged' may be used uninitialized in this function [-Wmaybe-uninitialized] v[osszut.size()-1]+=szomszli[ut[i]][seged].azar; ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | OK. | 5 | 5 | ||
2 | 0 secunde | OK. | 5 | 5 | ||
3 | 0.016 secunde | Raspuns gresit. | 5 | 0 | ||
4 | 0.036 secunde | Caught fatal signal 11 | 5 | 0 | ||
5 | Depășit | Limita de timp depășită | 5 | 0 | ||
6 | 0 secunde | OK. | 5 | 5 | ||
7 | 0.052 secunde | Caught fatal signal 11 | 5 | 0 | ||
8 | Depășit | Limita de timp depășită | 5 | 0 | ||
9 | 0.084 secunde | Caught fatal signal 11 | 5 | 0 | ||
10 | 0 secunde | OK. | 5 | 5 | ||
11 | Depășit | Limita de timp depășită | 5 | 0 | ||
12 | 0.012 secunde | Raspuns gresit. | 5 | 0 | ||
13 | Depășit | Limita de timp depășită | 5 | 0 | ||
14 | 0.08 secunde | Caught fatal signal 11 | 5 | 0 | ||
15 | 0.004 secunde | Raspuns gresit. | 5 | 0 | ||
16 | 0.012 secunde | Raspuns gresit. | 5 | 0 | ||
17 | 0.028 secunde | Caught fatal signal 11 | 5 | 0 | ||
18 | Depășit | Limita de timp depășită | 5 | 0 | ||
19 | 0.024 secunde | Raspuns gresit. | 5 | 0 | ||
20 | 0.164 secunde | Caught fatal signal 11 | 5 | 0 | ||
Punctaj total | 20 |
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ă.