#933
DistantaPunctDreapta
Se dau în plan, un punct și o dreaptă. Să se determine distanța de la punct la dreaptă.
Problema | DistantaPunctDreapta | Operații I/O |
distantapunctdreapta.in /distantapunctdreapta.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #23420832 | Utilizator | |
Fișier | distantapunctdreapta.cpp | Dimensiune | 521 B |
Data încărcării | 04 Iulie 2020, 20:45 | Scor / rezultat | 50 puncte |
distantapunctdreapta.cpp: In function 'int main()': distantapunctdreapta.cpp:25:28: warning: format '%Lf' expects argument of type 'long double', but argument 3 has type 'double' [-Wformat=] fprintf(fo,"%.2Lf",dist); ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | Raspuns gresit. | 10 | 0 | Exemplu | |
2 | 0 secunde | OK. | 10 | 10 | ||
3 | 0 secunde | OK. | 10 | 10 | ||
4 | 0 secunde | OK. | 10 | 10 | ||
5 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
6 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
7 | 0 secunde | OK. | 10 | 10 | ||
8 | 0 secunde | OK. | 10 | 10 | ||
9 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
10 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
Punctaj total | 50 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema DistantaPunctDreapta 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ă.