#3806
Mediane
Se dau lungimile laturilor unui triunghi ABC
. Aflați lungimile medianelor duse din A,B
si C
.
matematică
Problema | Mediane | Operații I/O |
![]() |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #51382075 | Utilizator | |
Fișier | mediane.cpp | Dimensiune | 560 B |
Data încărcării | 11 Iunie 2024, 19:16 | Scor / rezultat | Eroare de compilare |
mediane.cpp: In function 'int main()': mediane.cpp:14:19: error: 'bb' was not declared in this scope ma=sqrt(2(bb+cc)-aa)/2; ^ mediane.cpp:14:22: error: 'cc' was not declared in this scope ma=sqrt(2(bb+cc)-aa)/2; ^ mediane.cpp:14:24: error: expression cannot be used as a function ma=sqrt(2(bb+cc)-aa)/2; ^ mediane.cpp:14:26: error: 'aa' was not declared in this scope ma=sqrt(2(bb+cc)-aa)/2; ^ mediane.cpp:15:24: error: expression cannot be used as a function mb=sqrt(2(aa+cc)-bb)/2; ^ mediane.cpp:16:24: error: expression cannot be used as a function mc=sqrt(2(aa+bb)-cc)/2; ^ mediane.cpp:17:12: error: 'ma100' was not declared in this scope Ma=ma100; ^ mediane.cpp:18:12: error: 'mb100' was not declared in this scope Mb=mb100; ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Mediane 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ă.