
UVa
Werky_blog
这个作者很懒,什么都没留下…
展开
-
UVa 11300 找金币
题目:https://cn.vjudge.net/problem/UVA-11300经过分析,转化为找中位数#includeusing namespace std;typedef long long int ll;const int maxn=1000000+10;ll A[maxn],C[maxn],tot,M;int main(){ int n;原创 2017-11-16 16:28:30 · 160 阅读 · 0 评论 -
WF 2008 LA 4127 The Sky is the Limit (扫描线)
题目:https://cn.vjudge.net/problem/UVALive-4127// LA4127 The Sky is the Limit// Rujia Liu#include<bits/stdc++.h>using namespace std;const double eps = 1e-10;int dcmp(double x) { if(fabs(x)...原创 2018-05-10 12:31:21 · 277 阅读 · 0 评论