摘要:
本场链接:Deltix Round, Spring 2021 (open for everyone, rated, Div. 1 + Div. 2) 闲话 E估计是补不了,看情况吧。 A. Game of Life 直接模拟,至多迭代$n-1$次,如果没有修改的操作就直接退出。 #include < 阅读全文
摘要:
本场链接:Codeforces Round #719 (Div. 3) 闲话 不会F2/G,会了再补 A. Do Not Be Distracted! #include <bits/stdc++.h> using namespace std; typedef long long ll; #defin 阅读全文
摘要:
本场链接:Codeforces Round #713 (Div. 3) A. Spy Detected! #include <bits/stdc++.h> using namespace std; typedef long long ll; #define forn(i,x,n) for(int i 阅读全文
摘要:
本场链接:Codeforces Round #712 (Div. 2) A. Déjà Vu 签到题,尝试一下插入首位元素或者插入第一个不是a的位置.两者都不行必然是NO. #define _CRT_SECURE_NO_WARNINGS #include <bits/stdc++.h> using 阅读全文
摘要:
本场链接:CodeCraft-21 and Codeforces Round #711 (Div. 2) A. GCD Sum 容易想到:出现互相都是偶数的时候,gcd>1。并且步数肯定也就几步,模拟一下即可。 #include <bits/stdc++.h> using namespace std 阅读全文