Detalii evaluare #52571887

Rezumat problemă

#1309 Gresie

Se consideră o încăpere de formă dreptunghiulară cu dimensiunile a b. Încăperea trebuie pavată cu gresie de formă pătratică, de dimensiune d. Știind că o bucată de gresie se poate folosi întreagă sau tăiată, să se determine numărul minim de bucăți de gresie sunt necesare pentru pavarea încăperii.

Detalii

Problema Gresie Operații I/O tastatură/ecran
Limita timp 0.1 secunde Limita memorie Total: 64 MB / Stivă 8 MB
Id soluție #52571887 Utilizator tudum tudum (snkr_freak)
Fișier gresie.cpp Dimensiune 527 B
Data încărcării 03 Octombrie 2024, 14:13 Scor / rezultat Eroare de compilare

Evaluare


Mesaj compilare

gresie.cpp:1:15: warning: missing terminating ' character [enabled by default]
 Saddam Hussein's hiding spot

               ^
gresie.cpp:1:1: error: missing terminating ' character
 Saddam Hussein's hiding spot

 ^
gresie.cpp:2:12: error: stray '\342' in program
            │Entrance hidden by

            ^
gresie.cpp:2:12: error: stray '\224' in program
gresie.cpp:2:12: error: stray '\202' in program
gresie.cpp:3:12: error: stray '\342' in program
            │Bricks and rubble

            ^
gresie.cpp:3:12: error: stray '\224' in program
gresie.cpp:3:12: error: stray '\202' in program
gresie.cpp:4:8: error: stray '\342' in program
        ▂▃▂▅▇▅▅▇▄▃

        ^
gresie.cpp:4:8: error: stray '\226' in program
gresie.cpp:4:8: error: stray '\202' in program
gresie.cpp:4:8: error: stray '\342' in program
gresie.cpp:4:8: error: stray '\226' in program
gresie.cpp:4:8: error: stray '\203' in program
gresie.cpp:4:8: error: stray '\342' in program
gresie.cpp:4:8: error: stray '\226' in program
gresie.cpp:4:8: error: stray '\202' in program
gresie.cpp:4:8: error: stray '\342' in program
gresie.cpp:4:8: error: stray '\226' in program
gresie.cpp:4:8: error: stray '\205' in program
gresie.cpp:4:8: error: stray '\342' in program
gresie.cpp:4:8: error: stray '\226' in program
gresie.cpp:4:8: error: stray '\207' in program
gresie.cpp:4:8: error: stray '\342' in program
gresie.cpp:4:8: error: stray '\226' in program
gresie.cpp:4:8: error: stray '\205' in program
gresie.cpp:4:8: error: stray '\342' in program
gresie.cpp:4:8: error: stray '\226' in program
gresie.cpp:4:8: error: stray '\205' in program
gresie.cpp:4:8: error: stray '\342' in program
gresie.cpp:4:8: error: stray '\226' in program
gresie.cpp:4:8: error: stray '\207' in program
gresie.cpp:4:8: error: stray '\342' in program
gresie.cpp:4:8: error: stray '\226' in program
gresie.cpp:4:8: error: stray '\204' in program
gresie.cpp:4:8: error: stray '\342' in program
gresie.cpp:4:8: error: stray '\226' in program
gresie.cpp:4:8: error: stray '\203' in program
gresie.cpp:5:5: error: stray '\342' in program
     ┳  ║                ║▔▔▔▔▔▔▔

     ^
gresie.cpp:5:5: error: stray '\224' in program
gresie.cpp:5:5: error: stray '\263' in program
gresie.cpp:5:5: error: stray '\342' in program
gresie.cpp:5:5: error: stray '\225' in program
gresie.cpp:5:5: error: stray '\221' in program
gresie.cpp:5:5: error: stray '\342' in program
gresie.cpp:5:5: error: stray '\225' in program
gresie.cpp:5:5: error: stray '\221' in program
gresie.cpp:5:5: error: stray '\342' in program
gresie.cpp:5:5: error: stray '\226' in program
gresie.cpp:5:5: error: stray '\224' in program
gresie.cpp:5:5: error: stray '\342' in program
gresie.cpp:5:5: error: stray '\226' in program
gresie.cpp:5:5: error: stray '\224' in program
gresie.cpp:5:5: error: stray '\342' in program
gresie.cpp:5:5: error: stray '\226' in program
gresie.cpp:5:5: error: stray '\224' in program
gresie.cpp:5:5: error: stray '\342' in program
gresie.cpp:5:5: error: stray '\226' in program
gresie.cpp:5:5: error: stray '\224' in program
gresie.cpp:5:5: error: stray '\342' in program
gresie.cpp:5:5: error: stray '\226' in program
gresie.cpp:5:5: error: stray '\224' in program
gresie.cpp:5:5: error: stray '\342' in program
gresie.cpp:5:5: error: stray '\226' in program
gresie.cpp:5:5: error: stray '\224' in program
gresie.cpp:5:5: error: stray '\342' in program
gresie.cpp:5:5: error: stray '\226' in program
gresie.cpp:5:5: error: stray '\224' in program
gresie.cpp:6:5: error: stray '\342' in program
     │  ╚╗          ╔╝

     ^
gresie.cpp:6:5: error: stray '\224' in program
gresie.cpp:6:5: error: stray '\202' in program
gresie.cpp:6:5: error: stray '\342' in program
gresie.cpp:6:5: error: stray '\225' in program
gresie.cpp:6:5: error: stray '\232' in program
gresie.cpp:6:5: error: stray '\342' in program
gresie.cpp:6:5: error: stray '\225' in program
gresie.cpp:6:5: error: stray '\227' in program
gresie.cpp:6:5: error: stray '\342' in program
gresie.cpp:6:5: error: stray '\225' in program
gresie.cpp:6:5: error: stray '\224' in program
gresie.cpp:6:5: error: stray '\342' in program
gresie.cpp:6:5: error: stray '\225' in program
gresie.cpp:6:5: error: stray '\235' in program
gresie.cpp:7:5: error: stray '\342' in program
     │     ║         ║        │Saddam 

     ^
gresie.cpp:7:5: error: stray '\224' in program
gresie.cpp:7:5: error: stray '\202' in program
gresie.cpp:7:5: error: stray '\342' in program
gresie.cpp:7:5: error: stray '\225' in program
gresie.cpp:7:5: error: stray '\221' in program
gresie.cpp:7:5: error: stray '\342' in program
gresie.cpp:7:5: error: stray '\225' in program
gresie.cpp:7:5: error: stray '\221' in program
gresie.cpp:7:5: error: stray '\342' in program
gresie.cpp:7:5: error: stray '\224' in program
gresie.cpp:7:5: error: stray '\202' in program
gresie.cpp:8:4: error: stray '\342' in program
    6ft    ╚╗   ╔╝        │Hussein

    ^
gresie.cpp:8:4: error: stray '\225' in program
gresie.cpp:8:4: error: stray '\232' in program
gresie.cpp:8:4: error: stray '\342' in program
gresie.cpp:8:4: error: stray '\225' in program
gresie.cpp:8:4: error: stray '\227' in program
gresie.cpp:8:4: error: stray '\342' in program
gresie.cpp:8:4: error: stray '\225' in program
gresie.cpp:8:4: error: stray '\224' in program
gresie.cpp:8:4: error: stray '\342' in program
gresie.cpp:8:4: error: stray '\225' in program
gresie.cpp:8:4: error: stray '\235' in program
gresie.cpp:8:4: error: stray '\342' in program
gresie.cpp:8:4: error: stray '\224' in program
gresie.cpp:8:4: error: stray '\202' in program
gresie.cpp:9:5: error: stray '\342' in program
     │====o   ╚════│════════╗

     ^
gresie.cpp:9:5: error: stray '\224' in program
gresie.cpp:9:5: error: stray '\202' in program
gresie.cpp:9:5: error: stray '\342' in program
gresie.cpp:9:5: error: stray '\225' in program
gresie.cpp:9:5: error: stray '\232' in program
gresie.cpp:9:5: error: stray '\342' in program
gresie.cpp:9:5: error: stray '\225' in program
gresie.cpp:9:5: error: stray '\220' in program
gresie.cpp:9:5: error: stray '\342' in program
gresie.cpp:9:5: error: stray '\225' in program
gresie.cpp:9:5: error: stray '\220' in program
gresie.cpp:9:5: error: stray '\342' in program
gresie.cpp:9:5: error: stray '\225' in program
gresie.cpp:9:5: error: stray '\220' in program
gresie.cpp:9:5: error: stray '\342' in program
gresie.cpp:9:5: error: stray '\225' in program
gresie.cpp:9:5: error: stray '\220' in program
gresie.cpp:9:5: error: stray '\342' in program
gresie.cpp:9:5: error: stray '\224' in program
gresie.cpp:9:5: error: stray '\202' in program
gresie.cpp:9:5: error: stray '\342' in program
gresie.cpp:9:5: error: stray '\225' in program
gresie.cpp:9:5: error: stray '\220' in program
gresie.cpp:9:5: error: stray '\342' in program
gresie.cpp:9:5: error: stray '\225' in program
gresie.cpp:9:5: error: stray '\220' in program
gresie.cpp:9:5: error: stray '\342' in program
gresie.cpp:9:5: error: stray '\225' in program
gresie.cpp:9:5: error: stray '\220' in program
gresie.cpp:9:5: error: stray '\342' in program
gresie.cpp:9:5: error: stray '\225' in program
gresie.cpp:9:5: error: stray '\220' in program
gresie.cpp:9:5: error: stray '\342' in program
gresie.cpp:9:5: error: stray '\225' in program
gresie.cpp:9:5: error: stray '\220' in program
gresie.cpp:9:5: error: stray '\342' in program
gresie.cpp:9:5: error: stray '\225' in program
gresie.cpp:9:5: error: stray '\220' in program
gresie.cpp:9:5: error: stray '\342' in program
gresie.cpp:9:5: error: stray '\225' in program
gresie.cpp:9:5: error: stray '\220' in program
gresie.cpp:9:5: error: stray '\342' in program
gresie.cpp:9:5: error: stray '\225' in program
gresie.cpp:9:5: error: stray '\220' in program
gresie.cpp:9:5: error: stray '\342' in program
gresie.cpp:9:5: error: stray '\225' in program
gresie.cpp:9:5: error: stray '\227' in program
gresie.cpp:10:5: error: stray '\342' in program
     │        │║@    ▇▅▆▇▆▅▅█      ║

     ^
gresie.cpp:10:5: error: stray '\224' in program
gresie.cpp:10:5: error: stray '\202' in program
gresie.cpp:10:5: error: stray '\342' in program
gresie.cpp:10:5: error: stray '\224' in program
gresie.cpp:10:5: error: stray '\202' in program
gresie.cpp:10:5: error: stray '\342' in program
gresie.cpp:10:5: error: stray '\225' in program
gresie.cpp:10:5: error: stray '\221' in program
gresie.cpp:10:22: error: stray '@' in program
     │        │║@    ▇▅▆▇▆▅▅█      ║

                      ^
gresie.cpp:10:5: error: stray '\342' in program
     │        │║@    ▇▅▆▇▆▅▅█      ║

     ^
gresie.cpp:10:5: error: stray '\226' in program
gresie.cpp:10:5: error: stray '\207' in program
gresie.cpp:10:5: error: stray '\342' in program
gresie.cpp:10:5: error: stray '\226' in program
gresie.cpp:10:5: error: stray '\205' in program
gresie.cpp:10:5: error: stray '\342' in program
gresie.cpp:10:5: error: stray '\226' in program
gresie.cpp:10:5: error: stray '\206' in program
gresie.cpp:10:5: error: stray '\342' in program
gresie.cpp:10:5: error: stray '\226' in program
gresie.cpp:10:5: error: stray '\207' in program
gresie.cpp:10:5: error: stray '\342' in program
gresie.cpp:10:5: error: stray '\226' in program
gresie.cpp:10:5: error: stray '\206' in program
gresie.cpp:10:5: error: stray '\342' in program
gresie.cpp:10:5: error: stray '\226' in program
gresie.cpp:10:5: error: stray '\205' in program
gresie.cpp:10:5: error: stray '\342' in program
gresie.cpp:10:5: error: stray '\226' in program
gresie.cpp:10:5: error: stray '\205' in program
gresie.cpp:10:5: error: stray '\342' in program
gresie.cpp:10:5: error: stray '\226' in program
gresie.cpp:10:5: error: stray '\210' in program
gresie.cpp:10:5: error: stray '\342' in program
gresie.cpp:10:5: error: stray '\225' in program
gresie.cpp:10:5: error: stray '\221' in program
gresie.cpp:11:5: error: stray '\342' in program
     ┷        │╚│═════════════╝

     ^
gresie.cpp:11:5: error: stray '\224' in program
gresie.cpp:11:5: error: stray '\267' in program
gresie.cpp:11:5: error: stray '\342' in program
gresie.cpp:11:5: error: stray '\224' in program
gresie.cpp:11:5: error: stray '\202' in program
gresie.cpp:11:5: error: stray '\342' in program
gresie.cpp:11:5: error: stray '\225' in program
gresie.cpp:11:5: error: stray '\232' in program
gresie.cpp:11:5: error: stray '\342' in program
gresie.cpp:11:5: error: stray '\224' in program
gresie.cpp:11:5: error: stray '\202' in program
gresie.cpp:11:5: error: stray '\342' in program
gresie.cpp:11:5: error: stray '\225' in program
gresie.cpp:11:5: error: stray '\220' in program
gresie.cpp:11:5: error: stray '\342' in program
gresie.cpp:11:5: error: stray '\225' in program
gresie.cpp:11:5: error: stray '\220' in program
gresie.cpp:11:5: error: stray '\342' in program
gresie.cpp:11:5: error: stray '\225' in program
gresie.cpp:11:5: error: stray '\220' in program
gresie.cpp:11:5: error: stray '\342' in program
gresie.cpp:11:5: error: stray '\225' in program
gresie.cpp:11:5: error: stray '\220' in program
gresie.cpp:11:5: error: stray '\342' in program
gresie.cpp:11:5: error: stray '\225' in program
gresie.cpp:11:5: error: stray '\220' in program
gresie.cpp:11:5: error: stray '\342' in program
gresie.cpp:11:5: error: stray '\225' in program
gresie.cpp:11:5: error: stray '\220' in program
gresie.cpp:11:5: error: stray '\342' in program
gresie.cpp:11:5: error: stray '\225' in program
gresie.cpp:11:5: error: stray '\220' in program
gresie.cpp:11:5: error: stray '\342' in program
gresie.cpp:11:5: error: stray '\225' in program
gresie.cpp:11:5: error: stray '\220' in program
gresie.cpp:11:5: error: stray '\342' in program
gresie.cpp:11:5: error: stray '\225' in program
gresie.cpp:11:5: error: stray '\220' in program
gresie.cpp:11:5: error: stray '\342' in program
gresie.cpp:11:5: error: stray '\225' in program
gresie.cpp:11:5: error: stray '\220' in program
gresie.cpp:11:5: error: stray '\342' in program
gresie.cpp:11:5: error: stray '\225' in program
gresie.cpp:11:5: error: stray '\220' in program
gresie.cpp:11:5: error: stray '\342' in program
gresie.cpp:11:5: error: stray '\225' in program
gresie.cpp:11:5: error: stray '\220' in program
gresie.cpp:11:5: error: stray '\342' in program
gresie.cpp:11:5: error: stray '\225' in program
gresie.cpp:11:5: error: stray '\220' in program
gresie.cpp:11:5: error: stray '\342' in program
gresie.cpp:11:5: error: stray '\225' in program
gresie.cpp:11:5: error: stray '\235' in program
gresie.cpp:12:1: error: stray '\342' in program
 Air vent │   │Fan
 ^
gresie.cpp:12:1: error: stray '\224' in program
gresie.cpp:12:1: error: stray '\202' in program
gresie.cpp:12:1: error: stray '\342' in program
gresie.cpp:12:1: error: stray '\224' in program
gresie.cpp:12:1: error: stray '\202' in program
gresie.cpp:1:1: error: 'Saddam' does not name a type
 Saddam Hussein's hiding spot

 ^

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