mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
c14ecbe72c
3400-3499
15 lines
290 B
C++
15 lines
290 B
C++
#include <iostream>
|
|
#include <cstdio>
|
|
#include <cmath>
|
|
#define IP 3.1415926
|
|
using namespace std;
|
|
int main()
|
|
{
|
|
double r, h;
|
|
while( scanf("%lf %lf", &h, &r) != EOF)
|
|
{
|
|
double ans = asin(0.01 * r / (4 * h));
|
|
printf("%0.2lf\n", 180 * ans / IP);
|
|
}
|
|
}
|