ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
1283
. Dwarf
Что не правильно? паскаль
Posted by
Lena
7 Mar 2015 22:21
var a,b,c,i,k:real;
begin
read(a,b,c);
while a>b do
begin
a:=a-(a*c/100);
I:=i+1;
end;
write(i);
end.
Re: Что не правильно? паскаль
Posted by
Khujamurod Murtozakulov (Tashkent U of IT)
7 Dec 2018 22:02
variable i should be integer !
© 2000–2024
Timus Online Judge Team
. All rights reserved.