Poj Solution 2959


//* @author: 82638882@163.com
import java.util.*;
public class Main
 public static void main(String[] args)
    Scanner in=new Scanner(System.in);
    int a=in.nextInt();
         double D=in.nextDouble();
      double d=in.nextDouble();
      double s=in.nextDouble();
      System.out.printf("%dn", (int)(Math.PI/Math.asin((d+s)/(D-d))));
This entry was posted in poj. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *