#934
Se dau în plan, un punct și un segment. Să se determine distanța minimă de la punctul dat la un punct aparținând segmentului.
| Problema | DistantaPunctSegment | Operații I/O |
distantapunctsegment.in/distantapunctsegment.out
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #64460374 | Utilizator | |
| Fișier | distantapunctsegment.cpp | Dimensiune | 6.29 KB |
| Data încărcării | 08 Mai 2026, 08:51 | Scor/rezultat | Eroare de compilare |
distantapunctsegment.cpp: In function ‘int prob_933_80pcte()’: distantapunctsegment.cpp:200:1: warning: no return statement in function returning non-void [-Wreturn-type] 200 | } | ^ distantapunctsegment.cpp: In function ‘int main()’: distantapunctsegment.cpp:245:2: error: expected ‘}’ at end of input 245 | } | ^ distantapunctsegment.cpp:202:12: note: to match this ‘{’ 202 | int main() { | ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema DistantaPunctSegment 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ă.