摘要:
D题 题目陈述 思路 初见题目一眼暴力 然后写了20min 被数据范围制裁了 明显,我们需要更搞笑的算法 根据题意模拟qwq 推导判断式 AC Code include <bits/stdc++.h> using namespace std; const int N = 2e5 + 10; int 阅读全文
摘要:
B题 题面翻译 qwq 思路 其实就是统计加判断 注意满堂彩的定义 点击查看代码 #include <bits/stdc++.h> using namespace std; const int MAXN = 1e5 + 7; int read() { int x = 0, w = 1; char c 阅读全文