import java.util.Scanner;
/**
* Created by Park Chaeheum on 2015-09-11 17:55.
*/
public class Main
{
public static void main(String[] args)
{
Scanner input = new Scanner(System.in);
double lV, lA, R, L;
R = input.nextDouble();
L = input.nextDouble();
lA = R * R * 3.14159;
lV = lA * L;
double A = (int) (lA * 10) / 10d;
double V = (int) (lV * 10) / 10d;
System.out.println(A);
System.out.println(V);
}
}
샘플 입력값을 하여도 출력에는 이상이 없는데 wrong answer 이네요