#4499
LaziPP
Câte cutii paralelipipedice cu dimesiunile a
, b
, c
centimetri pot fi suprapuse într-o încăpere de înălțime h
metri?
Problema | LaziPP | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #53116319 | Utilizator | |
Fișier | lazipp.cpp | Dimensiune | 755 B |
Data încărcării | 18 Octombrie 2024, 08:09 | Scor / rezultat | Eroare de compilare |
lazipp.cpp:1:1: error: stray '\304' in program Care este numărul maxim de cutii paralelipipedice cu dimesiunile a, b, c centimetri pot fi suprapuse într-o încăpere de înălțime h metri? ^ lazipp.cpp:1:1: error: stray '\203' in program lazipp.cpp:1:1: error: stray '\303' in program lazipp.cpp:1:1: error: stray '\256' in program lazipp.cpp:1:1: error: stray '\303' in program lazipp.cpp:1:1: error: stray '\256' in program lazipp.cpp:1:1: error: stray '\304' in program lazipp.cpp:1:1: error: stray '\203' in program lazipp.cpp:1:1: error: stray '\303' in program lazipp.cpp:1:1: error: stray '\256' in program lazipp.cpp:1:1: error: stray '\304' in program lazipp.cpp:1:1: error: stray '\203' in program lazipp.cpp:1:1: error: stray '\310' in program lazipp.cpp:1:1: error: stray '\233' in program lazipp.cpp:2:1: error: stray '\304' in program Cutiile au formă de paralelipiped dreptunghic și pot fi rotite pe oricare dintre fețe pentru a putea fi suprapuse. ^ lazipp.cpp:2:1: error: stray '\203' in program lazipp.cpp:2:1: error: stray '\310' in program lazipp.cpp:2:1: error: stray '\231' in program lazipp.cpp:2:1: error: stray '\310' in program lazipp.cpp:2:1: error: stray '\233' in program lazipp.cpp:5:1: error: stray '\310' in program Programul citește de la tastatură numerele naturale a, b, c și h. ^ lazipp.cpp:5:1: error: stray '\231' in program lazipp.cpp:5:1: error: stray '\304' in program lazipp.cpp:5:1: error: stray '\203' in program lazipp.cpp:5:1: error: stray '\310' in program lazipp.cpp:5:1: error: stray '\231' in program lazipp.cpp:7:1: error: stray '\310' in program Date de ieșire ^ lazipp.cpp:7:1: error: stray '\231' in program lazipp.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. ^ lazipp.cpp:8:1: error: stray '\231' in program lazipp.cpp:8:1: error: stray '\304' in program lazipp.cpp:8:1: error: stray '\203' in program lazipp.cpp:8:1: error: stray '\303' in program lazipp.cpp:8:1: error: stray '\242' in program lazipp.cpp:8:1: error: stray '\304' in program lazipp.cpp:8:1: error: stray '\203' in program lazipp.cpp:10:1: error: stray '\310' in program Restricții și precizări ^ lazipp.cpp:10:1: error: stray '\233' in program lazipp.cpp:10:1: error: stray '\310' in program lazipp.cpp:10:1: error: stray '\231' in program lazipp.cpp:10:1: error: stray '\304' in program lazipp.cpp:10:1: error: stray '\203' in program lazipp.cpp:11:1: error: stray '\342' in program 1 ≤ a,b,c,h ≤ 100 ^ lazipp.cpp:11:1: error: stray '\211' in program lazipp.cpp:11:1: error: stray '\244' in program lazipp.cpp:11:1: error: stray '\342' in program lazipp.cpp:11:1: error: stray '\211' in program lazipp.cpp:11:1: error: stray '\244' in program lazipp.cpp:16:1: error: stray '\310' in program Ieșire ^ lazipp.cpp:16:1: error: stray '\231' in program lazipp.cpp:19:1: error: stray '\310' in program Explicație ^ lazipp.cpp:19:1: error: stray '\233' in program lazipp.cpp:20:1: error: stray '\303' in program În camera cu înălțimea de 1m pot fi suprapuse 33 cutii, a 34-a nu mai încape. ^ lazipp.cpp:20:1: error: stray '\216' in program lazipp.cpp:20:1: error: stray '\303' in program lazipp.cpp:20:1: error: stray '\256' in program lazipp.cpp:20:1: error: stray '\304' in program lazipp.cpp:20:1: error: stray '\203' in program lazipp.cpp:20:1: error: stray '\310' in program lazipp.cpp:20:1: error: stray '\233' in program lazipp.cpp:20:1: error: stray '\303' in program lazipp.cpp:20:1: error: stray '\256' in program lazipp.cpp:22:1: error: stray '\303' in program Încărcare soluție ^ lazipp.cpp:22:1: error: stray '\216' in program lazipp.cpp:22:1: error: stray '\304' in program lazipp.cpp:22:1: error: stray '\203' in program lazipp.cpp:22:1: error: stray '\310' in program lazipp.cpp:22:1: error: stray '\233' in program lazipp.cpp:25:1: error: stray '\310' in program Lipește codul aici ^ lazipp.cpp:25:1: error: stray '\231' in program lazipp.cpp:29:1: error: stray '\342' in program ^ lazipp.cpp:29:1: error: stray '\200' in program lazipp.cpp:29:1: error: stray '\213' in program lazipp.cpp:1:1: error: 'Care' does not name a type Care este numărul maxim de cutii paralelipipedice cu dimesiunile a, b, c centimetri pot fi suprapuse într-o încăpere de înălțime h metri? ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema LaziPP 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ă.