![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法竞赛入门经典
iDTer
这个作者很懒,什么都没留下…
展开
-
The Dragon of Loowater, UVa 11292
#include<cstdio> #include<algorithm> using namespace std; const int maxn = 20000 + 5; int A[maxn], B[maxn]; int main(){ int n, m; while(scanf("%d%d", &n, &m) == 2 &&am...原创 2018-03-30 15:29:34 · 189 阅读 · 0 评论 -
Commando War, UVa 11729
#include<cstdio> #include<vector> #include<algorithm> using namespace std; struct Job{ int j, b; bool operator < (const Job& x) const{ //运算符重载。不要忘记const修饰符 re...原创 2018-03-31 23:26:01 · 216 阅读 · 0 评论