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

sapiens_sch Сколько вершин в третьем тесте? [4] // Problem 1020. Rope 3 Mar 2012 18:48
n=1.
Good luck
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
try test:
1 2
0.0 0.0

length is 4*PI = 12.56637061..
so right answer is 12.57
error is found - the number of rounds