#3062
vas
Într-un vas sunt x
litri de apă (x>0
). După fiecare t
minute, un sfert din cantitatea de apă se evaporă.
Să se determine după câte minute vor rămâne în vas cel mult y
litri de apă.
Problema | vas | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #16422037 | Utilizator | |
Fișier | vas.cpp | Dimensiune | 333 B |
Data încărcării | 01 August 2019, 01:23 | Scor / rezultat | Eroare de compilare |
vas.cpp:13:2: error: stray '\302' in program cin >> x >> t >> y; ^ vas.cpp:13:2: error: stray '\240' in program vas.cpp:13:2: error: stray '\302' in program vas.cpp:13:2: error: stray '\240' in program vas.cpp:15:2: error: stray '\302' in program v=1.0*x; ^ vas.cpp:15:2: error: stray '\240' in program vas.cpp:15:2: error: stray '\302' in program vas.cpp:15:2: error: stray '\240' in program vas.cpp:17:2: error: stray '\302' in program while (v>y) ^ vas.cpp:17:2: error: stray '\240' in program vas.cpp:17:2: error: stray '\302' in program vas.cpp:17:2: error: stray '\240' in program vas.cpp:19:2: error: stray '\302' in program { ^ vas.cpp:19:2: error: stray '\240' in program vas.cpp:19:2: error: stray '\302' in program vas.cpp:19:2: error: stray '\240' in program vas.cpp:21:2: error: stray '\302' in program T+=t; ^ vas.cpp:21:2: error: stray '\240' in program vas.cpp:21:2: error: stray '\302' in program vas.cpp:21:2: error: stray '\240' in program vas.cpp:21:2: error: stray '\302' in program vas.cpp:21:2: error: stray '\240' in program vas.cpp:21:2: error: stray '\302' in program vas.cpp:21:2: error: stray '\240' in program vas.cpp:23:2: error: stray '\302' in program v=v*3/4; ^ vas.cpp:23:2: error: stray '\240' in program vas.cpp:23:2: error: stray '\302' in program vas.cpp:23:2: error: stray '\240' in program vas.cpp:23:2: error: stray '\302' in program vas.cpp:23:2: error: stray '\240' in program vas.cpp:23:2: error: stray '\302' in program vas.cpp:23:2: error: stray '\240' in program vas.cpp:25:2: error: stray '\302' in program } ^ vas.cpp:25:2: error: stray '\240' in program vas.cpp:25:2: error: stray '\302' in program vas.cpp:25:2: error: stray '\240' in program vas.cpp:27:2: error: stray '\302' in program cout << T; ^ vas.cpp:27:2: error: stray '\240' in program vas.cpp:27:2: error: stray '\302' in program vas.cpp:27:2: error: stray '\240' in program vas.cpp:33:1: error: stray '\310' in program Citește mai multe pe Brainly.ro - https://brainly.ro/tema/5964868#readmore ^ vas.cpp:33:1: error: stray '\231' in program vas.cpp:33:1: error: 'Cite' does not name a type
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema vas 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ă.