#1462
| Problema | Gasti | Operații I/O |
gasti.in/gasti.out
|
|---|---|---|---|
| Limita timp | 0.5 secunde | Limita memorie |
Total: 16 MB
/
Stivă 4 MB
|
| Id soluție | #64263330 | Utilizator | |
| Fișier | gasti.cpp | Dimensiune | 1.66 KB |
| Data încărcării | 27 Aprilie 2026, 09:15 | Scor/rezultat | 100 puncte |
gasti.cpp: In function ‘int main()’: gasti.cpp:47:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | while(i < comp_sizes.size() && comp_sizes[i] == comp_sizes[0]) | ~~^~~~~~~~~~~~~~~~~~~ gasti.cpp:54:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 54 | while(i < comp_sizes.size() && comp_sizes[i] == comp_sizes[1]) | ~~^~~~~~~~~~~~~~~~~~~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.002 secunde | Corect ambele! | 10 | 10 | ||
| 2 | 0.003 secunde | Corect ambele! | 10 | 10 | ||
| 3 | 0.007 secunde | Corect ambele! | 10 | 10 | ||
| 4 | 0.008 secunde | Corect ambele! | 10 | 10 | ||
| 5 | 0.024 secunde | Corect ambele! | 10 | 10 | ||
| 6 | 0.036 secunde | Corect ambele! | 10 | 10 | ||
| 7 | 0.037 secunde | Corect ambele! | 10 | 10 | ||
| 8 | 0.038 secunde | Corect ambele! | 10 | 10 | ||
| 9 | 0.083 secunde | Corect ambele! | 10 | 10 | ||
| 10 | 0.094 secunde | Corect ambele! | 10 | 10 | ||
| Punctaj total | 100 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Gasti 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ă.