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 1020. Rope

Сколько вершин в третьем тесте?
Posted by sapiens_sch 3 Mar 2012 18:48
Re: Сколько вершин в третьем тесте?
Posted by SpartakusMd 20 Mar 2012 04:17
n=1.
Good luck
Re: Сколько вершин в третьем тесте?
Posted by sapiens_sch 10 Sep 2012 19:33
if (n == 1) {
         double ffffuuuu = in.nextDouble();
         ffffuuuu = in.nextDouble();
         out.println((double) (int) (2 * radius * PI * 100) / 100.0);
         out.flush();
         return;
      }
в чём ошибка!!!
what is wrong!!!

Edited by author 10.09.2012 19:38
Re: Сколько вершин в третьем тесте?
Posted by Erop [USU] 11 Sep 2012 16:22
try test:
1 2
0.0 0.0

length is 4*PI = 12.56637061..
so right answer is 12.57
Re: Сколько вершин в третьем тесте?
Posted by sapiens_sch 12 Sep 2012 23:29
error is found - the number of rounds