摘要: Problem. 1 - Junior Julian 模拟模拟模拟摸死 CTR 的母。 考场代码: #include<cstdio> namespace solveIt { void read(int &x) { x=0; char c=getchar(); int f=1; while(c<'0' 阅读全文
posted @ 2020-11-10 21:33 cirnovsky 阅读(182) 评论(0) 推荐(1) 编辑
摘要: Description 大家应该都读过题。 Solution 赛后变摩托😃。 我们对每一个操作 \(3\) 连边建图,然后可以知道只是一个 \(\texttt{DAG}\)。 考虑操作 \(2\),我们只需要最后计算即可。 现在来看加法操作。我们设我们当前的操作为 \(a_{p}\leftarro 阅读全文
posted @ 2020-11-10 17:22 cirnovsky 阅读(109) 评论(0) 推荐(1) 编辑