#include<iostream>
#include<iomanip>
using namespace std;
int main() {
int n;
cin >> n;//查询人数
double h;
char gender;
for (int i = 0; i < n; i++) {
cin >> gender >> h;
if (gender == 'F')cout << fixed << setprecision(2) << h * 1.09 << endl;
else cout << fixed << setprecision(2) << h /1.09 << endl;
}
}
L1-040 最佳情侣身高差
最新推荐文章于 2024-07-13 19:27:27 发布