codeforces
水天宫
这个作者很懒,什么都没留下…
展开
-
CodeForces - 1194A : Remove a Progression
题目链接:https://vjudge.net/problem/CodeForces-1194A 题目描述: You have a list of numbers from 1 to n written from left to right on the blackboard. You perform an algorithm consisting of several steps (steps ...原创 2019-12-09 22:17:56 · 140 阅读 · 0 评论 -
CodeForces - 1097B Petr and a Combination Lock
题目链接:https://vjudge.net/problem/CodeForces-1097B 题目描述: Petr has just bought a new car. He’s just arrived at the most known Petersburg’s petrol station to refuel it when he suddenly discovered that the...原创 2019-12-10 08:00:09 · 254 阅读 · 0 评论 -
CodeForces - 869B:The Eternal Immortality
题目链接:https://vjudge.net/problem/CodeForces-869B 题目描述: Even if the world is full of counterfeits, I still regard it as wonderful. Pile up herbs and incense, and arise again from the flames and ashes of...原创 2019-12-10 07:50:01 · 124 阅读 · 0 评论 -
CodeForces - 1249C1 Good Numbers (easy version)
题目链接:https://vjudge.net/problem/CodeForces-1249C1 题目描述: 因为万圣节数字都是用3的不同次幂组成的,所以对于每个3的幂来说, 只有可以用来组成万圣节数字和不能用来组成万圣节数字两种情况,这题因为是easy version, n给的比较小,所以我们给定一个区间直接暴☆搜出所有在区间内大于等于n的数然后取最小值即可 #include<set...原创 2019-12-10 07:32:52 · 388 阅读 · 0 评论