1 条题解
-
0
C++ :
#include<bits/stdc++.h> using namespace std; int main(){ long double x,y,z,sb; cin>>x>>y>>z>>sb; cout<<round(11*(x*y+2*x*z+2*y*z-sb)); return 0; }
Python :
# coding=utf-8 a=float(input()) b=float(input()) c=float(input()) k=float(input()) cost=(a*b+a*c*2+b*c*2-k)*11; print(format(cost,'.2f'))
- 1
信息
- ID
- 418
- 时间
- 3000ms
- 内存
- 128MiB
- 难度
- 10
- 标签
- 递交数
- 2
- 已通过
- 2
- 上传者