#3812
Inaltimi2
Se dau lungimile laturilor unui triunghi ABC
. Calculati lungimile inaltimilor duse din A, B, C
.
matematică
Problema | Inaltimi2 | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #54030115 | Utilizator | |
Fișier | inaltimi2.cpp | Dimensiune | 526 B |
Data încărcării | 18 Noiembrie 2024, 11:45 | Scor / rezultat | Eroare de compilare |
inaltimi2.cpp:13:1: error: stray '\342' in program cout <<“Imposibil”; ^ inaltimi2.cpp:13:1: error: stray '\200' in program inaltimi2.cpp:13:1: error: stray '\234' in program inaltimi2.cpp:13:1: error: stray '\342' in program inaltimi2.cpp:13:1: error: stray '\200' in program inaltimi2.cpp:13:1: error: stray '\235' in program inaltimi2.cpp:21:8: error: stray '\342' in program cout<<ha/100<<’.’<<ha/10%10<<ha%10<<’ ‘ ^ inaltimi2.cpp:21:8: error: stray '\200' in program inaltimi2.cpp:21:8: error: stray '\231' in program inaltimi2.cpp:21:8: error: stray '\342' in program inaltimi2.cpp:21:8: error: stray '\200' in program inaltimi2.cpp:21:8: error: stray '\231' in program inaltimi2.cpp:21:8: error: stray '\342' in program inaltimi2.cpp:21:8: error: stray '\200' in program inaltimi2.cpp:21:8: error: stray '\231' in program inaltimi2.cpp:21:8: error: stray '\342' in program inaltimi2.cpp:21:8: error: stray '\200' in program inaltimi2.cpp:21:8: error: stray '\230' in program inaltimi2.cpp:23:6: error: stray '\342' in program cout<<hb/100<<’.’<<hb/10%10<<hb%10<<’ ‘; ^ inaltimi2.cpp:23:6: error: stray '\200' in program inaltimi2.cpp:23:6: error: stray '\231' in program inaltimi2.cpp:23:6: error: stray '\342' in program inaltimi2.cpp:23:6: error: stray '\200' in program inaltimi2.cpp:23:6: error: stray '\231' in program inaltimi2.cpp:23:6: error: stray '\342' in program inaltimi2.cpp:23:6: error: stray '\200' in program inaltimi2.cpp:23:6: error: stray '\231' in program inaltimi2.cpp:23:6: error: stray '\342' in program inaltimi2.cpp:23:6: error: stray '\200' in program inaltimi2.cpp:23:6: error: stray '\230' in program inaltimi2.cpp:24:8: error: stray '\342' in program cout<<hc/100<<’.’<<hc/10%10<<hc%10; ^ inaltimi2.cpp:24:8: error: stray '\200' in program inaltimi2.cpp:24:8: error: stray '\231' in program inaltimi2.cpp:24:8: error: stray '\342' in program inaltimi2.cpp:24:8: error: stray '\200' in program inaltimi2.cpp:24:8: error: stray '\231' in program inaltimi2.cpp: In function 'int main()': inaltimi2.cpp:13:11: error: 'Imposibil' was not declared in this scope cout <<“Imposibil”; ^ inaltimi2.cpp:21:25: error: expected primary-expression before '.' token cout<<ha/100<<’.’<<ha/10%10<<ha%10<<’ ‘ ^ inaltimi2.cpp:21:29: error: expected unqualified-id before '<<' token cout<<ha/100<<’.’<<ha/10%10<<ha%10<<’ ‘ ^ inaltimi2.cpp:23:23: error: expected primary-expression before '.' token cout<<hb/100<<’.’<<hb/10%10<<hb%10<<’ ‘; ^ inaltimi2.cpp:23:27: error: expected unqualified-id before '<<' token cout<<hb/100<<’.’<<hb/10%10<<hb%10<<’ ‘; ^ inaltimi2.cpp:23:53: error: expected primary-expression before ';' token cout<<hb/100<<’.’<<hb/10%10<<hb%10<<’ ‘; ^ inaltimi2.cpp:24:25: error: expected primary-expression before '.' token cout<<hc/100<<’.’<<hc/10%10<<hc%10; ^ inaltimi2.cpp:24:29: error: expected unqualified-id before '<<' token cout<<hc/100<<’.’<<hc/10%10<<hc%10; ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Inaltimi2 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ă.