原文:Codeforces Round #616 (Div. 2) D. Irreducible Anagrams 找规律

D. Irreducible Anagrams time limit per test seconds memory limit per test megabytes Let s call two strings s and t anagrams of each other if it is possible to rearrange symbols in the string s to get ...

2020-02-03 19:31 1 199 推荐指数:

查看详情

Codeforces Round #616 (Div. 2)解题报告

Codeforces Round #616 (Div. 2)解题报告 A. Even But Not Even 两个奇数就行了。 B. Array Sharpening 贪心+构造。 就从0开始往上走,看看最远能走到哪,看代码。 C. Mind Control 这道题题意 ...

Tue Feb 04 11:38:00 CST 2020 0 195
D. Nezzar and Board - Codeforces Round #698 (Div. 2)

D. Nezzar and Board https://codeforces.com/contest/1478/problem/D 题解 题意为给出一个序列xi,你可以任意挑选两个数x,y将2·x-y加入序列中,询问在是否可以在序列中发现数k。 假设我们任意挑选4个数:x,y,p,q ...

Fri Jan 29 19:55:00 CST 2021 2 454
Codeforces Round #637 (Div. 2) D. Nastya and Scoreboard

题意:一个n个数码位的分数板,每一个数码位都是一个七段数码管,现在给出每个数码位的显示情况,问再点亮k段数码管的话能显示的最大的数是多少,如果不能构成一串数字,就输出-1. 答案允许有前导0,但是有前导0的时候答案长度必须要跟n一致 原题链接:https://codeforces ...

Fri Apr 24 19:48:00 CST 2020 0 625
题解 Codeforces Round #616 (Div. 2) (CF1291)

的,那么它的前面都是满足单调升的。从后往前第一个不满足a[i]>=n-i的,那么它的后面都是满足单调减的。如 ...

Mon Feb 03 09:15:00 CST 2020 2 266
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM