CEOI2017 day1-Sure Bet【三分】
从大到小排序,枚举a中选几个,在b中三分。代码#include<cstdio>
#include<cstring>
#include<algorithm>
#define maxn 100006
using namespace std;
int n;
double ans,a[maxn],b[maxn];
bool cmp(double x,double y){return x>y;}
double
原创
2017-09-29 10:53:19 ·
1033 阅读 ·
0 评论