![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法
文章平均质量分 78
Excers
这个作者很懒,什么都没留下…
展开
-
codeforces 1607C.Minimum Extraction
C.Minimum ExtractionYelisey has an array a of n integers.If a has length strictly greater than 1, then Yelisei can apply anoperation called minimum extraction to it:First, Yelisei finds the minimal number m in the array. If there areseveral identical原创 2021-11-12 17:47:04 · 730 阅读 · 0 评论 -
codeforces 1607D.Blue-Red Permutation
D. Blue-Red PermutationYou are given an array of integers a of length n. The elements of thearray can be either different or the same.Each element of the array is colored either blue or red. There are nounpainted elements in the array. One of the two原创 2021-11-12 17:36:20 · 286 阅读 · 0 评论 -
codeforces 1603B. Moderate Modular Mode
B. Moderate Modular ModeYouKn0wWho has two even integers x and y. Help him to find an integern such that 1≤n≤2⋅1018 and nmodx=ymodn. Here, amodb denotes theremainder of a after division by b. If there are multiple suchintegers, output any. It can be s原创 2021-11-12 17:23:02 · 307 阅读 · 0 评论 -
codeforces 1554D
D. Diane D. DianeYou are given an integer n. Find any string s of length n consistingonly of English lowercase letters such that each non-empty substringof s occurs in s an odd number of times. If there are multiple suchstrings, output any. I原创 2021-11-11 10:14:00 · 95 阅读 · 0 评论 -
2021中国大学生程序设计竞赛(CCPC)网选赛(第一场)
2021中国大学生程序设计竞赛(CCPC)网选赛(第一场)总结:本次比赛,打的差的一塌糊涂,为了一道签到题甚至用了5个小时(最悲剧的是还没做出来),隔壁学弟都比我这个老油条强了,哎。1001 Cut The Wire前言(唠嗑):本题全靠我万能的队友做的Problem Description:In the country of Infinity , there is a strange road. This road only has a starting point, but no end. S转载 2021-08-31 18:47:15 · 960 阅读 · 0 评论 -
B. Before an Examtime
B. Before an Examtimelimit per test0.5 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputTomorrow Peter has a Biology exam. He does not like this subject much, but d days ago he learnt that he would have to take this exam....原创 2020-09-30 19:55:42 · 142 阅读 · 0 评论