Codeforces
打比赛,在cfs熬过的夜
Coonger
天高人要飞~
展开
-
Codeforces #620(div2)C.Air Conditioner (贪心+模拟)
传送门:https://codeforces.com/contest/1304/problem/C 写B题用STL时基本功不扎实,导致答案输不出,蒟蒻的困境啊啊。C题官方题解已经够清楚了,但还是要自我弥补一下。 题意: 有n个人按递增顺序时间 t 来访问,每人有温度承受范围[ l , r ] ,m为初始温度,问是否可以满足每个人? 思路: 因为是问可否满足的问题,并不需要求出严格的控温情况。怎样才...原创 2020-02-16 15:59:05 · 189 阅读 · 0 评论 -
Codeforces Round #619(Div2) C.Ayoub's function(组合数学)
C.Ayoub's function Ayoub thinks that he is a very smart person, so he created a function f(s), where s is a binary string (a string which contains only symbols “0” and “1”). The function f(s) is equal...原创 2020-02-16 01:16:52 · 387 阅读 · 0 评论