#1333
trapez
Cunoscând laturile unui trapez isoscel, să se calculeze lungimea diagonalei.
Problema | trapez | Operații I/O |
![]() |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #16107859 | Utilizator | |
Fișier | trapez.cpp | Dimensiune | 258 B |
Data încărcării | 03 Iunie 2019, 23:12 | Scor / rezultat | Eroare de compilare |
trapez.cpp:9:1: error: stray '\302' in program float b,B,l,x,d,h; ^ trapez.cpp:9:1: error: stray '\240' in program trapez.cpp:9:1: error: stray '\302' in program trapez.cpp:9:1: error: stray '\240' in program trapez.cpp:9:1: error: stray '\302' in program trapez.cpp:9:1: error: stray '\240' in program trapez.cpp:10:1: error: stray '\302' in program cin>> b>>B>>l; ^ trapez.cpp:10:1: error: stray '\240' in program trapez.cpp:10:1: error: stray '\302' in program trapez.cpp:10:1: error: stray '\240' in program trapez.cpp:10:1: error: stray '\302' in program trapez.cpp:10:1: error: stray '\240' in program trapez.cpp:11:1: error: stray '\302' in program x=(B-b)/2; ^ trapez.cpp:11:1: error: stray '\240' in program trapez.cpp:11:1: error: stray '\302' in program trapez.cpp:11:1: error: stray '\240' in program trapez.cpp:11:1: error: stray '\302' in program trapez.cpp:11:1: error: stray '\240' in program trapez.cpp:12:1: error: stray '\302' in program h=sqrt(l*l-x*x); ^ trapez.cpp:12:1: error: stray '\240' in program trapez.cpp:12:1: error: stray '\302' in program trapez.cpp:12:1: error: stray '\240' in program trapez.cpp:12:1: error: stray '\302' in program trapez.cpp:12:1: error: stray '\240' in program trapez.cpp:13:1: error: stray '\302' in program d=sqrt((b+x)*(b+x)+h*h); ^ trapez.cpp:13:1: error: stray '\240' in program trapez.cpp:13:1: error: stray '\302' in program trapez.cpp:13:1: error: stray '\240' in program trapez.cpp:13:1: error: stray '\302' in program trapez.cpp:13:1: error: stray '\240' in program trapez.cpp:14:1: error: stray '\302' in program cout <<d<<endl; ^ trapez.cpp:14:1: error: stray '\240' in program trapez.cpp:14:1: error: stray '\302' in program trapez.cpp:14:1: error: stray '\240' in program trapez.cpp:14:1: error: stray '\302' in program trapez.cpp:14:1: error: stray '\240' in program trapez.cpp:16:1: error: stray '\302' in program return 0; ^ trapez.cpp:16:1: error: stray '\240' in program trapez.cpp:16:1: error: stray '\302' in program trapez.cpp:16:1: error: stray '\240' in program trapez.cpp:16:1: error: stray '\302' in program trapez.cpp:16:1: error: stray '\240' in program
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema trapez 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ă.