mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
26a72e347d
2100-2199
10 lines
185 B
C++
10 lines
185 B
C++
#include <stdio.h>
|
|
int main()
|
|
{
|
|
double a=0.57735026918963,b=0.81649658092773;
|
|
int r;
|
|
while(scanf("%d",&r),r)
|
|
printf("%.3f %.3f\n",a*r,b*r);
|
|
return 0;
|
|
}
|