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 1490. Fire Circle

Why i get WA on test 5? This is my solution
Posted by Krot Aleksandr(school 85) 24 May 2007 21:21
Why i get WA on test 5? This is my solution:

var r,sum,n:extended;
begin
readln(input,r);
sum:=4*sqr(r);
n:=int((sqrt(2)-1)*r/sqrt(2));
write(output,(sum-2*n*(n+1)):0:0);
end.

Edited by author 24.05.2007 21:21
Re: Why i get WA on test 5? This is my solution
Posted by alexutz_mircescu 4 Nov 2007 00:17
[sorry man]

Edited by author 04.11.2007 00:27

Edited by author 04.11.2007 00:27
Re: Why i get WA on test 5? This is my solution
Posted by ArCheLAN 12 Jan 2008 18:14
Buy Iphone!
Re: Why i get WA on test 5? This is my solution
Posted by MadBit 12 Jan 2008 18:15
Fuck you!
Re: Why i get WA on test 5? This is my solution
Posted by MadBit 12 Jan 2008 18:16
You are TEAPOT!!!!!!!!!!!!!!!!!!!!!!