#1972
Să se determine dreptunghiul de arie maximă ce conține numai 0
.
Problema | Hambar | Operații I/O |
![]() hambar.in /hambar.out
|
---|---|---|---|
Limita timp | 3 secunde | Limita memorie |
Total: 5 MB
/
Stivă 1 MB
|
Id soluție | #57709915 | Utilizator | |
Fișier | hambar.cpp | Dimensiune | 958 B |
Data încărcării | 11 Aprilie 2025, 12:45 | Scor / rezultat | Eroare de compilare |
hambar.cpp:18:19: error: 'c1' has not been declared int cauta(int l1, c1, l2, c2, k){ ^ hambar.cpp:18:23: error: 'l2' has not been declared int cauta(int l1, c1, l2, c2, k){ ^ hambar.cpp:18:27: error: 'c2' has not been declared int cauta(int l1, c1, l2, c2, k){ ^ hambar.cpp:18:31: error: 'k' is not a type int cauta(int l1, c1, l2, c2, k){ ^ hambar.cpp: In function 'int cauta(int, int, int, int, int)': hambar.cpp:20:34: error: 'l2' was not declared in this scope if(v[k].l>=l1 && v[k].l<=l2 && v[k].c>=c1 && v[k].c<=c2) ^ hambar.cpp:20:48: error: 'c1' was not declared in this scope if(v[k].l>=l1 && v[k].l<=l2 && v[k].c>=c1 && v[k].c<=c2) ^ hambar.cpp:20:62: error: 'c2' was not declared in this scope if(v[k].l>=l1 && v[k].l<=l2 && v[k].c>=c1 && v[k].c<=c2) ^ hambar.cpp: At global scope: hambar.cpp:27:21: error: 'inr' has not been declared void hambar(int l1, inr c1, int l2, int c2, int p){ ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Hambar 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ă.