Files
python/TangDou/AoSaiYiBenTong/YBT1013.cpp

12 lines
227 B
C++
Raw Normal View History

2025-08-30 18:35:01 +08:00
#include <bits/stdc++.h>
using namespace std;
//注意:计算实数是尽量用double类型,免得丢失精度。
int main() {
double f;
cin >> f;
printf("%.5lf", 5 * (f - 32) / 9);
return 0;
}