mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
5ed1cf19d0
3200-3299
15 lines
249 B
C++
15 lines
249 B
C++
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <stdlib.h>
|
|
#include <math.h>
|
|
#define PI 3.1415926
|
|
int main()
|
|
{
|
|
int L;
|
|
while((scanf("%d",&L)!=EOF)&&(L!=0))
|
|
{
|
|
printf("%.2lf\n",((L*L)/PI)/2.0);
|
|
}
|
|
return (0);
|
|
}
|