- 守望者的逃离
- 2009-05-06 13:14:14 @
var m,s,t,long,i:longint;
begin
readln(m,s,t);
repeat
m:=m-10;
long:=long+60;
inc(i);
until m4) and (i+1t) then begin inc(i); long:=long+60; inc(i); end;
repeat
long:=long+17;
inc(i);
until (t=i) or (long>=s);
if long>=s then
begin
writeln('Yes');
writeln(i);
end
else
begin
writeln('No');
writeln(long);
end;
end.
知道的+QQ:714332048
1 条评论
-
lk LV 0 @ 2009-05-07 21:27:12
不会做就别做
- 1