atcoder subset 062c agc

[AtCoder] B - Counting Grids

The key observation is that there is always at most 1 cell that violates both conditions. Proof: if x violates both conditions, that means all other n ......
Counting AtCoder Grids

AtCoder Beginner Contest 141

AtCoder Beginner Contest 141 D - Powerful Discount Tickets 贪心 + 堆 #include <bits/stdc++.h> #define ll long long using namespace std; const int N = 1e5 ......
Beginner AtCoder Contest 141

AtCoder Beginner Contest 294

题解报告 基本的一些理解和问题都在注释中 A:Filter //水题 #include <cstdio> #include <algorithm> #include <cstring> #include <iostream> using namespace std; int main(void) { ......
Beginner AtCoder Contest 294

agc026 题解

link code A $\color{gray}\bigstar$ 相邻的相同就把它改掉。模拟即可。 B $\color{green}\bigstar$ 先把前面的一些情况特判掉。 注意最后落在的位置一定是形如 $\bmod b =a+d$ 的形式,判断一下在这个取模环上是否有 $[b+1,c)$ ......
题解 agc 026
共994篇  :34/34页 首页上一页34下一页尾页