原文:Codeforces Global Round 7

传送门 A. Bad Ugly Numbers 。 Code B. Maximums 从前往后依次搞即可。 Code C. Permutation Partitions 乘法原理运用。 Code D . Prefix Suffix Palindrome Hard version 题意: 给出一个字符串 s 。 现在要找到一个最长的串 t ,满足: t 为一个回文串 t pre s suf s ,即 ...

2020-03-20 12:01 0 613 推荐指数:

查看详情

Codeforces Global Round 2

这场题目设置有点问题啊,难度:Div.2 A->Div.2 B->Div.2 D->Div.2 C->Div.2 D->Div.1 D-> Div.1 E-> ...

Sun Apr 07 06:48:00 CST 2019 15 445
Codeforces Global Round 17

Codeforces Global Round 17 A. Anti Light's Cell Guessing 坑点:\(n=1,m=1\) 时答案为 \(0\) 。 其他情况:当 \(n=1\) 或 \(m=1\) 时,只需要取端点即可。其他情况只需要两个点,也是取两个端点,把离一个点 ...

Wed Nov 24 17:23:00 CST 2021 5 155
CodeForces Global Round 1

CodeForces Global Round 1 CF新的比赛呢(虽然没啥区别)!这种报名的人多的比赛涨分是真的快。。。。 所以就写下题解吧。 A. Parity 太简单了,随便模拟一下就完了。 B. Tape 显然就是先找一个长的把所有的全部覆盖,然后可以在上面丢掉\(k-1\)段 ...

Tue Feb 12 22:25:00 CST 2019 6 301
Codeforces Global Round 19

题目传送门:Codeforces Global Round 19。 目录 A. Sorting Parts B. MEX and Array C. Andrew and Stones D. Yet Another Minimization Problem ...

Mon Feb 14 08:37:00 CST 2022 2 1696
Codeforces Global Round 3

Codeforces Global Round 3 A. Another One Bites The Dust 有若干个a,有若干个b,有若干个ab。你现在要把这些串拼成一个串,使得任意两个相邻的位置都是不同字符,求可能的最长串长度。 枚举一下\(a\)开头还是\(b\)开头 ...

Thu Jun 06 19:41:00 CST 2019 8 347
Codeforces Global Round 12

A - Avoid Trygub B - Balls of Steel 枚举找就完事 C1 & C2 - Errich-Tac-Toe 明显是考虑(i + j) % 3, 记 ...

Mon Dec 07 20:05:00 CST 2020 5 568
Codeforces Global Round 4

目录 Contest Info Solutions A. Prime Minister B. WOW Factor C. Tiles ...

Sun Jul 21 16:30:00 CST 2019 0 575
Codeforces Global Round 15 题解

A - Subsequence Permutation 求出 \(s\) 排序后的结果 \(t\),计算 \(s, t\) 不同的位置数即可。 B - Running for Gold 答案唯一 ...

Tue Jul 27 22:40:00 CST 2021 0 197
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM