- 博客(28)
- 收藏
- 关注
原创 Codeforces Round 935 (Div. 3) A B C D E
The organizing committee plans to take the participants of the Olympiad on a hike after the tour. Currently, the number of tents needed to be taken is being calculated. It is known that each tent can accommodate up to 333 people.Among the participants, the
2024-03-20 00:09:09
1093
原创 Codeforces Round 933 (Div. 3)
A. Rudolf and the Tickettime limit per test: 1 secondmemory limit per test: 256 megabytesinput: standard inputoutput: standard outputRudolf is going to visit Bernard, and he decided to take the metro to get to him. The ticket can be purchased at a ma
2024-03-12 16:08:31
1102
4
原创 Codeforces Round 929 (Div. 3) A B C D E
You are given an array aaa of nnn integers. You must perform the following two operations on the array (the first, then the second):What is the maximum sum of the array elements after performing these two operations (the first, then the second)?InputThe fi
2024-02-28 11:26:22
1090
原创 Codeforces Round 927 (Div. 3) A B C D E F
During your journey through computer universes, you stumbled upon a very interesting world. It is a path with nnn consecutive cells, each of which can either be empty, contain thorns, or a coin. In one move, you can move one or two cells along the path, pr
2024-02-19 14:13:24
2097
原创 Codeforces Round 926 (Div. 2) A B C
Sasha decided to give his girlfriend an array a1,a2,…,ana_1, a_2, \ldots, a_na1,a2,…,an. He found out that his girlfriend evaluates the beauty of the array as the sum of the values (ai−ai−1)(a_i - a_{i - 1})(ai−ai−1) for all integers iii from 222 to n
2024-02-16 10:04:42
997
原创 Codeforces Round 925 (Div. 3)
Nikita had a word consisting of exactly 333 lowercase Latin letters. The letters in the Latin alphabet are numbered from 111 to 262626, where the letter “a” has the index 111, and the letter “z” has the index 262626.He encoded this word as the sum of the p
2024-02-14 12:52:20
975
原创 Codeforces Round 923 (Div. 3) A B C D E
You have a horizontal strip of nnn cells. Each cell is either white or black.You can choose a continuous segment of cells once and paint them all white. After this action, all the black cells in this segment will become white, and the white ones will remai
2024-02-07 11:09:23
1045
原创 Codeforces Round 921 (Div. 2) A B C
You are given two positive integers nnn and kkk.Your task is to find a string sss such that all possible strings of length nnn that can be formed using the first kkk lowercase English alphabets occur as a subsequence of sss.If there are multiple answers, p
2024-01-28 10:36:34
1068
1
原创 AtCoder Beginner Contest 338 A B C D
Problem StatementYou are given a non-empty string SSS consisting of uppercase and lowercase English letters. Determine whether the following condition is satisfied: - The first character of SSS is uppercase, and all other characters are lowercase.Constra
2024-01-27 21:40:05
928
1
原创 Educational Codeforces Round 161 (Rated for Div. 2) A B C D E
You are given an integer nnn and three strings a,b,ca, b, ca,b,c, each consisting of nnn lowercase Latin letters.Let a template be a string ttt consisting of nnn lowercase and/or uppercase Latin letters. The string sss matches the template ttt if the follo
2024-01-19 10:54:04
991
1
原创 Codeforces Round 920 (Div. 3) A B C D E
A square of positive (strictly greater than 000) area is located on the coordinate plane, with sides parallel to the coordinate axes. You are given the coordinates of its corners, in random order. Your task is to find the area of the square.InputEach test
2024-01-16 11:20:20
1053
1
原创 Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2)
Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2)
2023-08-27 15:35:12
109
1
原创 Codeforces Round 871 (Div. 4) H. Don‘t Blame Me
Codeforces Round 871 (Div. 4) H. Don't Blame Me
2023-08-25 15:57:52
60
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人