#3823
După ce Le Quack și-a pierdut toți banii dați de mama lui să cumpere pâine la Blackjack, acesta a decis să își
creeze propriul joc de cărți unde își poate bate prietenii și să câștige banii înapoi.
infoleague.net runda de antrenament, problema A.
| Problema | A-FlippedCards | Operații I/O |
flipc.in/flipc.out
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 16 MB
|
| Id soluție | #51692824 | Utilizator | |
| Fișier | a-flippedcards.cpp | Dimensiune | 1.51 KB |
| Data încărcării | 04 August 2024, 14:49 | Scor/rezultat | 0 puncte |
a-flippedcards.cpp: In function 'int findMaxLength(std::vector<int>&, int)': a-flippedcards.cpp:10:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int end = 0; end < cards.size(); ++end) { ^ a-flippedcards.cpp: In function 'int countSequences(std::vector<int>&, int)': a-flippedcards.cpp:27:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int end = 0; end < cards.size(); ++end) { ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 2 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 3 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 4 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 5 | 0.004 secunde | Raspuns gresit. | 5 | 0 | ||
| 6 | 0.004 secunde | Raspuns gresit. | 5 | 0 | ||
| 7 | 0.016 secunde | Raspuns gresit. | 5 | 0 | ||
| 8 | 0.028 secunde | Raspuns gresit. | 5 | 0 | ||
| 9 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 10 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 11 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 12 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 13 | 0 secunde | Raspuns gresit. | 5 | 0 | ||
| 14 | 0.004 secunde | Raspuns gresit. | 5 | 0 | ||
| 15 | 0.004 secunde | Raspuns gresit. | 5 | 0 | ||
| 16 | 0.004 secunde | Raspuns gresit. | 5 | 0 | ||
| 17 | 0.004 secunde | Raspuns gresit. | 5 | 0 | ||
| 18 | 0.004 secunde | Raspuns gresit. | 5 | 0 | ||
| 19 | 0.02 secunde | Raspuns gresit. | 5 | 0 | ||
| 20 | 0.028 secunde | Raspuns gresit. | 5 | 0 | ||
| Punctaj total | 0 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema A-FlippedCards 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ă.