摘要:
## T1:[两数归零](https://iai.sh.cn/problem/817 "两数归零") $a_i + a_j = 0 \Leftrightarrow a_j = -a_i$,用 `std::map` 来统计即可 代码实现 ``` #include #define rep(i, n) f 阅读全文
2023年8月9日
摘要:
## T1:[树的计数](https://iai.sh.cn/problem/834 "树的计数") 注意到,深度为 $2$ 的点一定是深度为 $1$ 的点的儿子节点,深度为 $3$ 的点一定是深度为 $2$ 的点的儿子节点.....那么深度为 $i$ 的点可以是深度为 $i - 1$ 的儿子节点, 阅读全文
2023年8月5日
2023年7月29日
摘要:
## T1:[Chord](https://atcoder.jp/contests/abc312/tasks/abc312_a "Chord") 模拟 代码实现 ``` s = input() if s in 'ACE, BDF, CEG, DFA, EGB, FAC, GBD': print('Y 阅读全文
2023年7月24日
2023年7月18日
2023年7月17日
2023年7月8日
2023年6月19日
摘要:
## T1:[Sequence Matching](https://jingsai.xiaohoucode.com/?id=728026276940c8331123c349a8038255&code=0eb96cd742a4e2df36520464ec201564da27087744fd07879a 阅读全文