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