Files
python/TangDou/AoSaiYiBenTong/YBT1013.cpp
HuangHai 1f397eca87 'commit'
2025-08-30 18:35:01 +08:00

12 lines
227 B
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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