摘要:
链接: https://codeforces.com/contest/1265/problem/C 题意: So the Beautiful Regional Contest (BeRC) has come to an end! n students took part in the contest 阅读全文
摘要:
链接: https://codeforces.com/contest/1265/problem/B 题意: You are given a permutation p=[p1,p2,…,pn] of integers from 1 to n. Let's call the number m (1≤m 阅读全文
摘要:
链接: https://codeforces.com/contest/1265/problem/A 题意: A string is called beautiful if no two consecutive characters are equal. For example, "ababcb", 阅读全文