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;
}
posted @ 2024-08-01 02:00  Frodnx  阅读(16)  评论(0)    收藏  举报