14 条题解
-
1
/********************************* 备注: *********************************/ #include <iostream> #include <cstdio> #include <iomanip> #include <cmath> #include <math.h> #include <algorithm> #include <cstring> #include <string> #include <stack> #include <queue> #include <algorithm> #define LL long long using namespace std; const int INF = 0x3f3f3f3f; const int N = 1e5 + 10; double c , f; int main() { cin >> f; c = 5 * ( f - 32 ) / 9; cout << fixed << setprecision(5) << c; return 0; }
-
1
#include<bits/stdc++.h> #include<cstring> #include<queue> #include<set> #include<stack> #include<vector> #include<map> #define ll long long using namespace std; const int N=1e5+10; const int M=2023; const int inf=0x3f3f3f3f; double F,C;//F代表华氏温度 C代表摄氏温度 int main() { cin>>F; C=5*(F-32)/9; printf("%.5lf",C); return 0; }
- 1
信息
- ID
- 843
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 3
- 标签
- 递交数
- 798
- 已通过
- 416
- 上传者