随笔分类 -  Codeforces

上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要:A. Lame King You are given a checkerboard of size 201×201, i. e. it has 201 rows and 201 columns. The rows of this checkerboard are numbe 阅读全文
posted @ 2023-03-14 17:07 onlyblues 阅读(57) 评论(0) 推荐(0) 编辑
摘要:D. Buying gifts Little Sasha has two friends, whom he wants to please with gifts on the Eighth of March. To do this, he went to the largest shopping c 阅读全文
posted @ 2023-03-09 23:43 onlyblues 阅读(293) 评论(2) 推荐(0) 编辑
摘要:F. Dasha and Nightmares Dasha, an excellent student, is studying at the best mathematical lyceum in the country. Recently, a mysterious stranger broug 阅读全文
posted @ 2023-03-04 16:43 onlyblues 阅读(100) 评论(0) 推荐(0) 编辑
摘要:D. Remove Two Letters Dmitry has a string s, consisting of lowercase Latin letters. Dmitry decided to remove two consecutive characters from the str 阅读全文
posted @ 2023-03-04 14:36 onlyblues 阅读(167) 评论(0) 推荐(0) 编辑
摘要:D. Maximum Subarray You are given an array a1,a2,,an, consisting of n integers. You are also given two integers k and x. You have t 阅读全文
posted @ 2023-03-04 10:14 onlyblues 阅读(138) 评论(0) 推荐(0) 编辑
摘要:C. Maximum Set A set of positive integers S is called beautiful if, for every two integers x and y from this set, either x divides y or y 阅读全文
posted @ 2023-03-03 21:53 onlyblues 阅读(74) 评论(0) 推荐(0) 编辑
摘要:D. Serval and Shift-Shift-Shift Serval has two n-bit binary integer numbers a and b. He wants to share those numbers with Toxel. Since Toxel lik 阅读全文
posted @ 2023-03-01 21:05 onlyblues 阅读(69) 评论(0) 推荐(0) 编辑
摘要:D. Triangle Coloring You are given an undirected graph consisting of n vertices and n edges, where n is divisible by 6. Each edge has a weight 阅读全文
posted @ 2023-02-18 16:19 onlyblues 阅读(63) 评论(0) 推荐(0) 编辑
摘要:D. Moscow Gorillas In winter, the inhabitants of the Moscow Zoo are very bored, in particular, it concerns gorillas. You decided to entertain them and 阅读全文
posted @ 2023-02-13 17:52 onlyblues 阅读(151) 评论(0) 推荐(0) 编辑
摘要:B. Fedya and Array For his birthday recently Fedya was given an array a of n integers arranged in a circle, For each pair of neighboring numbers ( 阅读全文
posted @ 2023-02-13 16:22 onlyblues 阅读(56) 评论(0) 推荐(0) 编辑
摘要:B. Jumbo Extra Cheese 2 Pak Chanek has n two-dimensional slices of cheese. The i-th slice of cheese can be represented as a rectangle of dimension 阅读全文
posted @ 2023-02-11 22:06 onlyblues 阅读(48) 评论(0) 推荐(0) 编辑
摘要:D. Moving Dots We play a game with n dots on a number line. The initial coordinate of the i-th dot is xi. These coordinates are distinct. Every 阅读全文
posted @ 2023-02-11 21:13 onlyblues 阅读(55) 评论(0) 推荐(0) 编辑
摘要:B. Sum of Two Numbers The sum of digits of a non-negative integer a is the result of summing up its digits together when written in the decimal syst 阅读全文
posted @ 2023-02-11 13:10 onlyblues 阅读(183) 评论(1) 推荐(1) 编辑
摘要:E. Sum Over Zero You are given an array a1,a2,,an of n integers. Consider S as a set of segments satisfying the following conditions 阅读全文
posted @ 2023-02-10 20:54 onlyblues 阅读(91) 评论(0) 推荐(1) 编辑
摘要:D. Lucky Permutation You are given a permutation p of length n. In one operation, you can choose two indices 1i<jn and swa 阅读全文
posted @ 2023-02-09 19:13 onlyblues 阅读(53) 评论(0) 推荐(0) 编辑
摘要:E. Monsters (hard version) This is the hard version of the problem. In this version, you need to find the answer for every prefix of the monster array 阅读全文
posted @ 2023-02-07 22:00 onlyblues 阅读(177) 评论(0) 推荐(0) 编辑
摘要:G2. Teleporters (Hard Version) The only difference between the easy and hard versions are the locations you can teleport to. Consider the points $0,1, 阅读全文
posted @ 2023-02-04 21:56 onlyblues 阅读(174) 评论(0) 推荐(0) 编辑
摘要:E. Negatives and Positives Given an array a consisting of n elements, find the maximum possible sum the array can have after performing the follow 阅读全文
posted @ 2023-02-04 15:56 onlyblues 阅读(77) 评论(0) 推荐(0) 编辑
摘要:C. Remove the Bracket RSJ has a sequence a of n integers a1,a2,,an and an integer s. For each of a2,a3,,an1, he cho 阅读全文
posted @ 2023-01-31 16:31 onlyblues 阅读(73) 评论(0) 推荐(0) 编辑
摘要:F. Timofey and Black-White Tree Timofey came to a famous summer school and found a tree on n vertices. A tree is a connected undirected graph withou 阅读全文
posted @ 2023-01-30 19:01 onlyblues 阅读(119) 评论(0) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 10 下一页
Web Analytics
点击右上角即可分享
微信分享提示