摘要:
题目描述 Two players, Petyr and Varys, play a game in which players remove stones from N piles in alternating turns. Petyr, in his turn, can remove at mos 阅读全文
摘要:
7720: RGB Coloring 题目描述 Takahashi has a tower which is divided into N layers. Initially, all the layers are uncolored. Takahashi is going to paint som 阅读全文
摘要:
const int maxn=1e5+7; const int maxm=1e5+7; const int inf=0x3f3f3f3f; struct Dinic { struct Edge { int next,f,to; } e[maxm]; int head[maxn],dep[maxn],tol,ans; int cur[maxn... 阅读全文
摘要:
拓扑排序模板: 例题: Sorting It All Out 题目描述 An ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order 阅读全文