sicily 1051. Biker's Trip Odomete
摘要:
#include <iostream>#include<stdio.h>#include<cmath>using namespace std;#define pi acos(-1.0)int main(){ int n=1; double d,r,t; while(cin>>d>>r>>t,r) { printf("Trip #%d: %.2f %.2f\n",n++, r*d*pi/63360 , r*d*pi*3600/(63360*t) ); } return 0;} 阅读全文
posted @ 2011-07-14 19:32 sysu_mjc 阅读(204) 评论(0) 推荐(0) 编辑