Detalii evaluare #49734836

Rezumat problemă

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.

Detalii

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 Stoica Alex (Alexst10)
Fișier a-flippedcards.cpp Dimensiune 978 B
Data încărcării 13 Martie 2024, 15:02 Scor / rezultat Eroare de compilare

Evaluare


Mesaj 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

Cum funcționează evaluarea?

www.pbinfo.ro permite evaluarea a două tipuri de probleme:

  • probleme la care rezolvarea presupune scrierea unui program complet
  • probleme la care rezolvarea presupune scrierea unei secvențe de program - câteva instrucțiuni, o listă de declarații, una sau mai multe funcții, etc.

Problema A-FlippedCards face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:

  • Programul sursă este compilat folosind compilatorul corespunzător. Dacă în urma compilării se obțin erori sau avertismente, acestea sunt afișate în această pagină.
  • Dacă programul a fost compilat, executabilul obținut va fi rulat, furnizându-i-se unul sau mai multe seturi de date de intrare, în concordanță cu restricțiile specifice problemei. Pentru fiecare set de date se obține un anumit punctaj, în raport cu corectitudinea soluției tale.

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ă.