随笔分类 - Codeforces
摘要:链接: https://codeforces.com/contest/1271/problem/B 题意: There are n blocks arranged in a row and numbered from left to right, starting from one. Each bl
阅读全文
摘要:链接: https://codeforces.com/contest/1271/problem/A 题意: A new delivery of clothing has arrived today to the clothing store. This delivery consists of a
阅读全文
摘要:链接: https://codeforces.com/contest/1269/problem/D 题意: You are given a Young diagram. Given diagram is a histogram with n columns of lengths a1,a2,…,an
阅读全文
摘要:链接: https://codeforces.com/contest/1269/problem/C 题意: You are given an integer x of n digits a1,a2,…,an, which make up its decimal notation in order f
阅读全文
摘要:链接: https://codeforces.com/contest/1269/problem/B 题意: You are given a positive integer m and two integer sequence: a=[a1,a2,…,an] and b=[b1,b2,…,bn].
阅读全文
摘要:链接: https://codeforces.com/contest/1269/problem/A 题意: Let's call a positive integer composite if it has at least one divisor other than 1 and itself.
阅读全文
摘要:链接: https://codeforces.com/contest/1278/problem/D 题意: As the name of the task implies, you are asked to do some work with segments and trees. Recall t
阅读全文
摘要:链接: https://codeforces.com/contest/1278/problem/C 题意: Karlsson has recently discovered a huge stock of berry jam jars in the basement of the house. Mo
阅读全文
摘要:链接: https://codeforces.com/contest/1278/problem/B 题意: You are given two integers a and b. You can perform a sequence of operations: during the first o
阅读全文
摘要:链接: https://codeforces.com/contest/1278/problem/A 题意: Polycarp has built his own web service. Being a modern web service it includes login feature. An
阅读全文
摘要:链接: https://codeforces.com/contest/1263/problem/E 题意: The development of a text editor is a hard problem. You need to implement an extra module for br
阅读全文
摘要:链接: https://codeforces.com/contest/1263/problem/D 题意: One unknown hacker wants to get the admin's password of AtForces testing system, to get problems
阅读全文
摘要:链接: https://codeforces.com/contest/1263/problem/C 题意: On the well known testing system MathForces, a draw of n rating units is arranged. The rating wi
阅读全文
摘要:链接: https://codeforces.com/contest/1263/problem/B 题意: A PIN code is a string that consists of exactly 4 digits. Examples of possible PIN codes: 7013,
阅读全文
摘要:链接: https://codeforces.com/contest/1263/problem/A 题意: You have three piles of candies: red, green and blue candies: the first pile contains only red c
阅读全文
摘要:链接: https://codeforces.com/contest/1272/problem/E 题意: You are given an array a consisting of n integers. In one move, you can jump from the position i
阅读全文
摘要:链接: https://codeforces.com/contest/1272/problem/D 题意: You are given an array a consisting of n integers. You can remove at most one element from this
阅读全文
摘要:链接: https://codeforces.com/contest/1272/problem/C 题意: Recently, Norge found a string s=s1s2…sn consisting of n lowercase Latin letters. As an exercise
阅读全文
摘要:链接: https://codeforces.com/contest/1272/problem/B 题意: Recently you have bought a snow walking robot and brought it home. Suppose your home is a cell (
阅读全文
摘要:链接: https://codeforces.com/contest/1272/problem/A 题意: outputstandard output Three friends are going to meet each other. Initially, the first friend st
阅读全文

浙公网安备 33010602011771号