|
|
вернуться в форумAccepted (sudo rm -rf) Послано Dan 1 дек 2012 16:36 //SESC USU SUDO RM -RF var a,b,c,d,i:integer; begin readln(a); readln(b); for i:=1 to 10000 do begin if i mod 2 = 0 then if b-c <> 0 then c:=c+1 else d:=d+1 else if a-c <> 0 then c:=c+1 else d:=d+1; end; case d of 1..200000 : writeln ('yes'); 0 : writeln ('no'); end; end. Edited by author 01.12.2012 17:39 Edited by author 01.12.2012 17:39 Edited by author 01.12.2012 17:39 Re: Accepted (sudo rm -rf) no go |
|
|