随笔分类 - Codeforces
摘要:链接: https://codeforces.com/contest/1247/problem/A 题意: Kolya is very absent minded. Today his math teacher asked him to solve a simple problem with the
阅读全文
摘要:链接: https://codeforces.com/contest/1238/problem/D 题意: The string t1t2…tk is good if each letter of this string belongs to at least one palindrome of l
阅读全文
摘要:链接: https://codeforces.com/contest/1238/problem/C 题意: You are playing a game where your character should overcome different obstacles. The current pro
阅读全文
摘要:链接: https://codeforces.com/contest/1238/problem/B 题意: Ivan plays an old action game called Heretic. He's stuck on one of the final levels of this game
阅读全文
摘要:链接: https://codeforces.com/contest/1238/problem/A 题意: You are given two integers x and y (it is guaranteed that x y). You may choose any prime integer
阅读全文
摘要:链接: https://codeforces.com/contest/1209/problem/E2 题意: This is a harder version of the problem. The difference is only in constraints. You are given a
阅读全文
摘要:链接: https://codeforces.com/contest/1209/problem/D 题意: The legendary Farmer John is throwing a huge party, and animals from all over the world are hang
阅读全文
摘要:链接: https://codeforces.com/contest/1209/problem/C 题意: You are given a sequence of n digits d1d2…dn. You need to paint all the digits in two colors so
阅读全文
摘要:链接: https://codeforces.com/contest/1209/problem/B 题意: It is a holiday season, and Koala is decorating his house with cool lights! He owns n lights, al
阅读全文
摘要:链接: https://codeforces.com/contest/1209/problem/A 题意: You are given a sequence of integers a1,a2,…,an. You need to paint elements in colors, so that:
阅读全文
摘要:链接: https://codeforces.com/contest/1215/problem/D 题意: Monocarp and Bicarp live in Berland, where every bus ticket consists of n digits (n is an even n
阅读全文
摘要:链接: https://codeforces.com/contest/1215/problem/C 题意: Monocarp has got two strings s and t having equal length. Both strings consist of lowercase Lati
阅读全文
摘要:链接: https://codeforces.com/contest/1215/problem/B 题意: You are given a sequence a1,a2,…,an consisting of n non zero integers (i.e. ai≠0). You have to c
阅读全文
摘要:链接: https://codeforces.com/contest/1215/problem/A 题意: The final match of the Berland Football Cup has been held recently. The referee has shown n yell
阅读全文
摘要:链接: https://codeforces.com/contest/1241/problem/D 题意: You are given a sequence a1,a2,…,an, consisting of integers. You can apply the following operati
阅读全文
摘要:链接: https://codeforces.com/contest/1241/problem/B 题意: You are given two strings of equal length s and t consisting of lowercase Latin letters. You may
阅读全文
摘要:链接: https://codeforces.com/contest/1241/problem/C 题意: You are an environmental activist at heart but the reality is harsh and you are just a cashier i
阅读全文
摘要:链接: https://codeforces.com/contest/1241/problem/A 题意: Let's denote correct match equation (we will denote it as CME) an equation $$$a + b = c$$$ there
阅读全文
摘要:链接: https://codeforces.com/contest/1220/problem/E 题意: Alex decided to go on a touristic trip over the country. For simplicity let's assume that the co
阅读全文
摘要:链接: https://codeforces.com/contest/1220/problem/D 题意: Boy Dima gave Julian a birthday present set B consisting of positive integers. However, he didn'
阅读全文

浙公网安备 33010602011771号