#936
Se dau puncte distincte în plan. Să se determine un poligon de arie maximă care are vârfuri dintre punctele date.
| Problema | InfasuratoareConvexa | Operații I/O |
infasuratoareconvexa.in/infasuratoareconvexa.out
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #64594973 | Utilizator | |
| Fișier | infasuratoareconvexa.cpp | Dimensiune | 3.64 KB |
| Data încărcării | 17 Mai 2026, 18:03 | Scor/rezultat | 0 puncte |
infasuratoareconvexa.cpp: In function ‘int main()’: infasuratoareconvexa.cpp:117:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Punct>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 117 | for(int i = 0; i < jos.size(); i ++) | ~~^~~~~~~~~~~~ infasuratoareconvexa.cpp:149:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Punct>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 149 | for(int i = 0; i < jos.size(); i++) | ~~^~~~~~~~~~~~ infasuratoareconvexa.cpp:157:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Punct>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 157 | for(int i = 1; i < forma_finala.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~ infasuratoareconvexa.cpp:169:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Punct>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 169 | for(int i = 0; i < forma_finala.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.001 secunde | Raspuns gresit. | 10 | 0 | Exemplu | |
| 2 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 3 | 0.002 secunde | Raspuns gresit. | 10 | 0 | ||
| 4 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 5 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 6 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 7 | 0.002 secunde | Raspuns gresit. | 10 | 0 | ||
| 8 | 0.002 secunde | Raspuns gresit. | 10 | 0 | ||
| 9 | 0.002 secunde | Raspuns gresit. | 10 | 0 | ||
| 10 | 0.002 secunde | Raspuns gresit. | 10 | 0 | ||
| Punctaj total | 0 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema InfasuratoareConvexa 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ă.