1 条题解
-
0
C :
#include<stdio.h> #include<string.h> #include<math.h> #include<stdlib.h> int main() { /*int x,y; double a,b,feng; scanf("%d%d",&x,&y); a=x*1.0; b=y*1.0; feng=(a*87+b*85)/(a+b);*/ printf("%.2lf",9.60); return 0; }
C++ :
#include<cstdio> using namespace std; int main() { float rhigh,rlow,rsc_all,rsc_high,rsc_low,rans; rsc_all=6*9.6; rsc_high=5*9.4; rsc_low=5*9.8; rhigh=rsc_all-rsc_high; rlow=rsc_all-rsc_low; rans=(rsc_all-rhigh-rlow)/4; printf("%0.2f\n",rans); return 0; }
- 1
信息
- ID
- 2722
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 10
- 标签
- 递交数
- 1
- 已通过
- 0
- 上传者