#include <cmath> #include <stdlib.h> #include <iostream> using namespace std; const double PI = acos(-1.0); int main ( int argc, char *argv[] ) { double r,w,sita; while(cin>>r>>w>>sita) { double tmp = cos((double)(sita/360*PI)); //cout<<(r+w-r*tmp)/(1-tmp)<<endl; printf("%.3lf/n",(r+w-r*tmp)/(1-tmp)); } return EXIT_SUCCESS; } /* ---------- end of function main ---------- */
hd_Hot girl with cool car
最新推荐文章于 2021-08-24 12:32:21 发布