Jerry's Game (UVA 13056) by ynu_a
Contest: 3738    RunID: 20174688    Status: Accepted    Date: Sat Oct 14 16:57:42 JST 2017


#include<bits/stdc++.h>
using namespace std;

#define REP(i,s,n) for(int i=s;i<n;++i)
#define rep(i,n) REP(i,0,n)
#define SORT(c) sort((c).begin(),(c).end())
#define IINF INT_MAX
#define LLINF LLONG_MAX

typedef long long ll;
typedef pair<int, int> ii;

int main(){

  int t;
  cin >> t;
  rep(n, t){
    double r, v;
    cin >> r >> v;

    printf("Case %d: %.8lf\n",n+1 , M_PI*r/(v*2.0));
  }

  return 0;
}