#815
Lazi
Câte cutii cubice de latură l
pot fi suprapuse într-o încăpere de înălțime h
.
Problema | Lazi | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #53537026 | Utilizator | |
Fișier | lazi.cpp | Dimensiune | 532 B |
Data încărcării | 04 Noiembrie 2024, 16:19 | Scor / rezultat | Eroare de compilare |
lazi.cpp:1:1: error: stray '\310' in program Cerința ^ lazi.cpp:1:1: error: stray '\233' in program lazi.cpp:2:1: error: stray '\303' in program Câte cutii cubice de latură l pot fi suprapuse într-o încăpere de înălțime h. ^ lazi.cpp:2:1: error: stray '\242' in program lazi.cpp:2:1: error: stray '\304' in program lazi.cpp:2:1: error: stray '\203' in program lazi.cpp:2:1: error: stray '\303' in program lazi.cpp:2:1: error: stray '\256' in program lazi.cpp:2:1: error: stray '\303' in program lazi.cpp:2:1: error: stray '\256' in program lazi.cpp:2:1: error: stray '\304' in program lazi.cpp:2:1: error: stray '\203' in program lazi.cpp:2:1: error: stray '\303' in program lazi.cpp:2:1: error: stray '\256' in program lazi.cpp:2:1: error: stray '\304' in program lazi.cpp:2:1: error: stray '\203' in program lazi.cpp:2:1: error: stray '\310' in program lazi.cpp:2:1: error: stray '\233' in program lazi.cpp:5:1: error: stray '\310' in program Programul citește de la tastatură numerele naturale l și h. ^ lazi.cpp:5:1: error: stray '\231' in program lazi.cpp:5:1: error: stray '\304' in program lazi.cpp:5:1: error: stray '\203' in program lazi.cpp:5:1: error: stray '\310' in program lazi.cpp:5:1: error: stray '\231' in program lazi.cpp:7:1: error: stray '\310' in program Date de ieșire ^ lazi.cpp:7:1: error: stray '\231' in program lazi.cpp:8:1: error: stray '\310' in program Programul va afișa pe ecran numărul n, reprezentând numărul de cutii ce pot fi suprapuse. ^ lazi.cpp:8:1: error: stray '\231' in program lazi.cpp:8:1: error: stray '\304' in program lazi.cpp:8:1: error: stray '\203' in program lazi.cpp:8:1: error: stray '\303' in program lazi.cpp:8:1: error: stray '\242' in program lazi.cpp:8:1: error: stray '\304' in program lazi.cpp:8:1: error: stray '\203' in program lazi.cpp:10:1: error: stray '\310' in program Restricții și precizări ^ lazi.cpp:10:1: error: stray '\233' in program lazi.cpp:10:1: error: stray '\310' in program lazi.cpp:10:1: error: stray '\231' in program lazi.cpp:10:1: error: stray '\304' in program lazi.cpp:10:1: error: stray '\203' in program lazi.cpp:11:1: error: stray '\342' in program 1 ≤ l,h ≤ 1000000 ^ lazi.cpp:11:1: error: stray '\211' in program lazi.cpp:11:1: error: stray '\244' in program lazi.cpp:11:1: error: stray '\342' in program lazi.cpp:11:1: error: stray '\211' in program lazi.cpp:11:1: error: stray '\244' in program lazi.cpp:17:1: error: stray '\310' in program Ieșire ^ lazi.cpp:17:1: error: stray '\231' in program lazi.cpp:20:1: error: stray '\310' in program Explicație ^ lazi.cpp:20:1: error: stray '\233' in program lazi.cpp:21:1: error: stray '\304' in program Pot fi suprapuse doar 3 cutii, a patra nu mai intră. ^ lazi.cpp:21:1: error: stray '\203' in program lazi.cpp:23:1: error: stray '\303' in program Încărcare soluție ^ lazi.cpp:23:1: error: stray '\216' in program lazi.cpp:23:1: error: stray '\304' in program lazi.cpp:23:1: error: stray '\203' in program lazi.cpp:23:1: error: stray '\310' in program lazi.cpp:23:1: error: stray '\233' in program lazi.cpp:25:1: error: stray '\310' in program Lipește codul aici ^ lazi.cpp:25:1: error: stray '\231' in program lazi.cpp:1:1: error: 'Cerin' does not name a type Cerința ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Lazi 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ă.