摘要:
#include <bits/stdc++.h> const int MaxN = 100010; const int lim = 10000010; struct edge { int to, next, dis; }; edge e[MaxN << 1]; int query[1010], su 阅读全文
摘要:
Good Bye 2018题解 题解 CF1091A 【New Year and the Christmas Ornament】 打完cf都忘记写题解了qwq 题意就是:给你一些黄,蓝,红的球,满足蓝的数量恰比黄的多一,红的数量恰比蓝的多一 容易发现黄的数量恰是$\min{y,b 1,r 2}$ 输 阅读全文
摘要:
Codeforces Round 525 (Div. 2)题解 题解 CF1088A 【Ehab and another construction problem】 依据题意枚举即可 题解 CF1088C 【Ehab and a 2 operation task】 怎么把一个序列弄成单调递增的呢?当 阅读全文
摘要:
Codeforces Round 528 (Div. 2)题解 A. Right Left Cipher 很明显这道题按题意逆序解码即可 Code: c++ include define mp(i, j) std::make_pair(i, j) define p std::pair p a[4]; 阅读全文