📄 2641.txt
字号:
Problem Id:2641 User Id:fzk
Memory:40K Time:0MS
Language:C++ Result:Accepted
Source
#include "stdio.h"
#include "math.h"
int main( )
{
int a, b, s, n, m;
double x, y;
while( scanf( "%d %d %d %d %d", &a, &b, &s, &m, &n ) )
{
if( a == 0 )
break;
x = b*n;
y = a*m;
printf( "%.2lf %.2lf\n", atan2( x, y )/acos(-1)*180, sqrt( x*x + y*y ) / s );
}
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -