![](https://img-blog.csdnimg.cn/20191030214030753.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
【codeforces】
云淡风轻<<
这个作者很懒,什么都没留下…
展开
-
Educational Codeforces Round 76 (Rated for Div. 2) D. Yet Another Monster Killing Problem
Yet Another Monster Killing ProblemYou play a computer game. In this game, you lead a party of m heroes, and you have to clear a dungeon with n monsters. Each monster is characterized by its power ai...原创 2019-11-18 21:25:01 · 153 阅读 · 0 评论 -
Codeforces Round #595 (Div. 3) C Good Numbers
题目链接题意:就是给你一个数n,让你求出最小的数k,这个数大于等于n,同时这个数可以写成 k=3x+3y+… 3z 保证x!=y!=z!=…, 让你求出符合条件的最小的k思路:这个题的话可以通过枚举3的倍数,能减的话(符合 k-i>=n的情况下)直接把它减去了,相当于是把3的倍数全都枚举了,时间复杂度的话应该是 t*log 3n#include<bits/stdc++.h>...原创 2019-11-05 19:34:34 · 77 阅读 · 0 评论 -
Educational Codeforces Round 75 (Rated for Div. 2)
题目链接:http://codeforces.com/contest/1251B. Binary Palindromes题意:告诉你n个含有数字0和1的串,你可以进行操作,交换两个位置的数字,问你通过操作后最多可以得到多少个回文串思路:数字只有0和1,那就好办了,在n个字符串中,如果字符串的长度为奇数,那么中间那个位置随便放,如果字符串的长度为偶数的话,那么只有成对的1和0才能组成回文数,所...原创 2019-10-30 21:30:24 · 139 阅读 · 0 评论