A:Exam Solved. 温暖的签。 View Code B:Coprime Integers Solved. 枚举gcd反演 View Code C:Contest Setting ...
Problem L limit second Liars There are n people in a circle, numbered from to n, each of whom always tells the truth or always lies. Each person i makes a claim of the form: the number of truth teller ...
2020-04-29 10:49 0 802 推荐指数:
A:Exam Solved. 温暖的签。 View Code B:Coprime Integers Solved. 枚举gcd反演 View Code C:Contest Setting ...
A. Odd Palindrome 所有回文子串长度都是奇数等价于不存在长度为$2$的偶回文子串,即相邻两个字符都不同。 #include<cstdio> #include< ...
8题。B有傻逼做法但是没出来,不应该。反而最后搞出G出乎意料,lzhnb! A: solver:lzh View Code B: 有很好的单调栈sb做法,可惜我最后想到了但是没想清楚,崩了。赛后听了bobby的想法才知道我的想法差在哪 ...
ProblemA Circuits Solved. 题意: 有$n$个矩形,可以放两条平行与$x$轴的线,求怎么放置两条无线长的平行于$x$轴的线,使得他们与矩形相交个数最多 如果一个矩形同时 ...
地址 Rank Solved A B C D E F G H I J K ...
https://codeforces.com/gym/101981 Problem A. Adrien and Austin 贪心,注意细节 f[x]=1:先手必赢。 f[x]: ...
传送门 A.Numbers B.Broken Watch 先考虑最简单的情况,就是a,b,c都相等的情况,这个时候答案显然只会跟n有关系,在n个线段 ...
A-Evolution Game 题目大意:有$n$个不同的野兽,定义第$i$ 个野兽有 $i$ 个眼睛和 $h[i]$ 个角,你可以任意从中选择一个野兽进行进化,每次进化角数量必须增加,而且进化后 ...