#1267
Fiind data o matrice de 0 si 1, sa se gaseasca cel mai mare dreptunghi care contine doar 0.
| Problema | plaja | Operații I/O |
plaja.in/plaja.out
|
|---|---|---|---|
| Limita timp | 0.7 secunde | Limita memorie |
Total: 16 MB
/
Stivă 4 MB
|
| Id soluție | #64773232 | Utilizator | |
| Fișier | plaja.cpp | Dimensiune | 1.71 KB |
| Data încărcării | 29 Mai 2026, 10:59 | Scor/rezultat | 100 puncte |
plaja.cpp: In function ‘void constructie_h(std::string&, std::vector<int>&)’: plaja.cpp:9:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 9 | for (int i = 0; i < h.size(); i++) { | ~~^~~~~~~~~~ plaja.cpp: In function ‘void constructie_st(std::vector<int>&, std::vector<int>&)’: plaja.cpp:20:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 20 | for (int i = 0; i < h.size(); i++) { | ~~^~~~~~~~~~ plaja.cpp: In function ‘int aria(std::vector<int>&, std::vector<int>&, std::vector<int>&)’: plaja.cpp:46:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 46 | for (int i = 0; i < h.size(); i++) { | ~~^~~~~~~~~~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.001 secunde | OK. | 10 | 10 | Exemplu | |
| 2 | 0.001 secunde | OK. | 10 | 10 | ||
| 3 | 0.001 secunde | OK. | 10 | 10 | ||
| 4 | 0.001 secunde | OK. | 10 | 10 | ||
| 5 | 0.006 secunde | OK. | 10 | 10 | ||
| 6 | 0.002 secunde | OK. | 10 | 10 | ||
| 7 | 0.001 secunde | OK. | 10 | 10 | ||
| 8 | 0.003 secunde | OK. | 10 | 10 | ||
| 9 | 0.022 secunde | OK. | 10 | 10 | ||
| 10 | 0.022 secunde | OK. | 10 | 10 | ||
| Punctaj total | 100 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema plaja 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ă.