2017年蓝桥杯软件B组省赛试题
作者:互联网
目录
购物单(简单计算)
#include<cstdio>
#include<map>
#include<iostream>
#include<cstring>
#include<algorithm>
using namespace std;
const int Max_n=100005;
typedef long long LL;
int vis[Max_n];
int main(){
double x=
180.90* 0.88+
10.25* 0.65+
56.14* 0.9+
104.65* 0.9+
100.30* 0.88+
297.15* 0.5+
26.75* 0.65+
130.62* 0.5+
240.28* 0.58+
270.62* 0.8+
115.87* 0.88+
247.34* 0.95+
73.21* 0.9+
101.00* 0.5+
79.54* 0.5+
278.44* 0.7+
199.26* 0.5+
12.97* 0.9+
166.30* 0.78+
125.50* 0.58+
84.98* 0.9+
113.35* 0.68+
166.57* 0.5+
42.56* 0.9+
81.90* 0.95+
131.78* 0.8+
255.89* 0.78+
109.17* 0.9+
146.69* 0.68+
139.33* 0.65+
141.16* 0.78+
154.74* 0.8+
59.42* 0.8+
85.44* 0.68+
293.70* 0.88+
261.79* 0.65+
11.30* 0.88+
268.27* 0.58+
128.29* 0.88+
251.03* 0.8+
208.39* 0.75+
128.88* 0.75+
62.06* 0.9+
225.87* 0.75+
12.89* 0.75+
34.28* 0.75+
62.16* 0.58+
129.12* 0.5+
218.37* 0.5+
289.69* 0.8;
printf("%f\n",x);//5200
return 0;
}
标签:0.9,0.8,0.5,蓝桥,0.75,2017,include,0.88,组省赛 来源: https://www.cnblogs.com/zut-syp/p/10502125.html