Jerry's Game (UVA 13056) by aizu_f
Contest: 3738    RunID: 20173997    Status: Accepted    Date: Sat Oct 14 14:57:53 JST 2017


import java.util.*;

class Main{
    
    public static void main(String[] args){
        int T, R, V;
        Scanner sc = new Scanner(System.in);
        T = sc.nextInt();
        double res;
        for(int t = 1; t <= T; t++){
            R = sc.nextInt();
            V = sc.nextInt();
            res = 0.5*Math.PI*R/V;
            System.out.printf("Case %d: %.8f\n", t, res);
        }
    }
}