#3823
A-FlippedCards
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 | #49734836 | Utilizator | |
Fișier | a-flippedcards.cpp | Dimensiune | 978 B |
Data încărcării | 13 Martie 2024, 15:02 | Scor / rezultat | Eroare de compilare |
a-flippedcards.cpp:1:1: error: stray '\304' in program 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. Jocul se joacă cu un pachet de N cărți. Pachetul de cărți este reprezentat că un șir binar cum va fi descris în cele ce urmează.Cărțile pot fi așezate pe față sau pe spate fără a conta culoarea sau valoarea cărții, pentru simplitate codificăm o care întoarsă prin cifra 0 și o carte pe față prin cifra 1 . Fiecare jucător poate face un număr nelimitat de operații de următorul tip: se alege un index i și se întorc toate cărțile din secvență de cărți i...n, adică o carte de valoare 0 se transformă în carte de valoare 1 și invers. Acum este rândul lui Le Quack, el va prezintă configurația curentă a cărților și voi trebuie să îl ajutați cu 2 cerințe, el va poate răsplăti cu un posibil loc I la concurs. ^ a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\231' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\233' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\233' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\303' in program a-flippedcards.cpp:1:1: error: stray '\242' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\303' in program a-flippedcards.cpp:1:1: error: stray '\256' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\231' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\233' in program a-flippedcards.cpp:1:1: error: stray '\303' in program a-flippedcards.cpp:1:1: error: stray '\256' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\231' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\231' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\303' in program a-flippedcards.cpp:1:1: error: stray '\242' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\231' in program a-flippedcards.cpp:1:1: error: stray '\303' in program a-flippedcards.cpp:1:1: error: stray '\256' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\233' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\233' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\231' in program a-flippedcards.cpp:1:1: error: stray '\303' in program a-flippedcards.cpp:1:1: error: stray '\256' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\233' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\231' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\233' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\233' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\303' in program a-flippedcards.cpp:1:1: error: stray '\256' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\231' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\233' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\233' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\231' in program a-flippedcards.cpp:1:1: error: stray '\303' in program a-flippedcards.cpp:1:1: error: stray '\256' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\233' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\233' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\233' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\303' in program a-flippedcards.cpp:1:1: error: stray '\256' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\231' in program a-flippedcards.cpp:1:1: error: stray '\303' in program a-flippedcards.cpp:1:1: error: stray '\242' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\233' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\233' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\231' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\303' in program a-flippedcards.cpp:1:1: error: stray '\256' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\233' in program a-flippedcards.cpp:1:1: error: stray '\310' in program a-flippedcards.cpp:1:1: error: stray '\233' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: stray '\304' in program a-flippedcards.cpp:1:1: error: stray '\203' in program a-flippedcards.cpp:1:1: error: 'Dup' does not name a type
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ă.