ENG  RUSTimus 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 1820. Ural Steaks

help!
Posted by Dima 20 Jul 2012 22:59
take me idea what is wrong:
var a,b,c:integer;
begin
read(a,b);
c:= (2*a) div b;
if c=2*a/b then write(c)else write (c+1);
end.
p.s sorry for my english
Re: help!
Posted by Rolehame 11 Aug 2012 14:24
try test a=1, b - any number. you'll get answer c=1.