biker专题

hdu 1038(ACM steps 1.2.1)Biker's Trip Odometer

题目描述: Biker's Trip Odometer Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2848 Accepted Submission(s): 1263  Problem Description Most bicycle

hdu Biker's Trip Odometer

知道了题意之后,很水的一道题。 题意:给定一个轮子的直径,轮子转的圈数,和轮子转的时间。求轮子转的总的路程和速度! #include<iostream>using namespace std;#define PI 3.1415927int main(){double d,t;int res,x=1;while(scanf("%lf %d %lf",&d,&res,&t)==3&&res