#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.
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 | |
Fișier | gresie.cpp | Dimensiune | 527 B |
Data încărcării | 03 Octombrie 2024, 14:13 | Scor / rezultat | Eroare de 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 ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Gresie 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ă.