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 1572. Yekaterinozavodsk Great Well

No subject
Posted by Yevgeniy 13 Oct 2007 14:24
Почему в тесте 1 ответ 2.
Re: No subject
Posted by Ivan Ivanov 14 Oct 2007 00:41
Well the answer is obviously 1.
Apperently the authors of the problem lack the practical experience of
putting things into holes :)
But we could gratiously pardon them. After all they provided a clear example
that allows us to get some insight of their understanding of the "putting things
into holes" business. So we were provided with the opportunity to get this AC :)
Re: No subject
Posted by Denis Koshman 25 Jul 2008 20:20
Probablty because stuff is rotated in SPACE :)
Re: No subject
Posted by BlackShark 24 Dec 2008 21:44
Pascal AC Prog:)

var a,t,n,i,k:integer; max:real; min:array[1..100] of real;
begin
readln(t,a);
case t of
1: max:=2*a;          {circle}
2: max:=a*sqrt(2);    {rectangle}
3: max:=a;            {triangle}
end;
readln(n);
for i:=1 to n do begin
readln(t,a);
case t of
1: min[i]:=2*a;
2: min[i]:=a;
3: min[i]:=a*sqrt(3)/2;
end;
end;
for i:=1 to n do if min[i]<=max then inc(k);
writeln(k);
end.