1051. Biker's Trip Odomete
2017-09-10 15:37
337 查看
// Problem#: 1051 // Submission#: 3810653 // The source code is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License // URI: http://creativecommons.org/licenses/by-nc-sa/3.0/ // All Copyright reserved by Informatic Lab of Sun Yat-sen University #include<iostream> #include<iomanip> using namespace std; const double PI=3.1415927; int main() { double d,time; int r; int i=1; while(cin >> d >> r >> time&&r!=0) { double s; s=d*PI*r/12/5280; double v; v=s/time*60*60; cout << "Trip #" << i << ": " << fixed << setprecision(2) << s; cout << " " << fixed << setprecision(2) << v << endl; i++; } }
相关文章推荐
- sicily--1051. Biker's Trip Odomete
- Sicily 1051. Biker's Trip Odomete
- sicily 1051. Biker's Trip Odomete
- [sicily online]1051. Biker's Trip Odomete
- sicily 1051. Biker's Trip Odomete
- 1051. Biker's Trip Odomete
- Sicily 1051. Biker's Trip Odomete
- 1051. Biker's Trip Odomete题解
- 1051. Biker's Trip Odomete
- Sicily 1051. Biker's Trip Odomete Description
- 1051. Biker's Trip Odomete
- SOJ.Biker's Trip Odomete
- Sicily.1051. Biker's Trip Odomete
- Biker's Trip Odomete
- ZOJ 1813 Biker's Trip Odometer
- hdu 1038 Biker's Trip Odometer(简单计算题)
- HDU 1038 Biker's Trip Odometer
- HDU1038 Biker's Trip Odometer(java)
- 杭电1038 Biker's Trip Odometer
- TOJ 2084.Biker's Trip Odometer