L1-029 是不是太胖了 分数 5
注意读题,心急吃不了热豆腐。
// 1'20"
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
int h;
cin >> h;
cout << fixed << setprecision(1) << ((double)h - 100.0) * 0.9 * 2;
return 0;
}
注意读题,心急吃不了热豆腐。
// 1'20"
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
int h;
cin >> h;
cout << fixed << setprecision(1) << ((double)h - 100.0) * 0.9 * 2;
return 0;
}