随笔分类 -  Codeforces

1 2 3 4 5 ··· 10 下一页
摘要:D. Eating There are n slimes on a line, the i-th of which has weight wi. Slime i is able to eat another slime j if wiwj; afterwar 阅读全文
posted @ 2025-02-18 21:09 onlyblues 阅读(20) 评论(0) 推荐(0) 编辑
摘要:H. Bro Thinks He's Him Skibidus thinks he's Him! He proved it by solving this difficult task. Can you also prove yourself? Given a binary string$^{\te 阅读全文
posted @ 2025-02-10 03:27 onlyblues 阅读(78) 评论(0) 推荐(0) 编辑
摘要:E. Triangle Tree You are given a rooted tree containing n vertices rooted at vertex 1. A pair of vertices (u,v) is called a good pa 阅读全文
posted @ 2025-01-28 18:42 onlyblues 阅读(12) 评论(0) 推荐(0) 编辑
摘要:D. Game With Triangles There are n+m distinct points (a1,0),(a2,0),,(an,0),(b1,2),(b2,2),,(bm,2) on the plane. Initia 阅读全文
posted @ 2025-01-27 23:19 onlyblues 阅读(51) 评论(0) 推荐(0) 编辑
摘要:H. Hard Demon Problem Swing is opening a pancake factory! A good pancake factory must be good at flattening things, so Swing is going to test his new 阅读全文
posted @ 2024-12-19 09:31 onlyblues 阅读(26) 评论(0) 推荐(0) 编辑
摘要:G. Natlan Exploring You are exploring the stunning region of Natlan! This region consists of n cities, and each city is rated with an attractiveness 阅读全文
posted @ 2024-11-19 10:50 onlyblues 阅读(102) 评论(0) 推荐(0) 编辑
摘要:G. Sakurako and Chefir Given a tree with n vertices rooted at vertex 1. While walking through it with her cat Chefir, Sakurako got distracted, and 阅读全文
posted @ 2024-10-25 17:44 onlyblues 阅读(64) 评论(0) 推荐(1) 编辑
摘要:E. Card Game In the most popular card game in Berland, a deck of n×m cards is used. Each card has two parameters: suit and rank. Suits in the 阅读全文
posted @ 2024-10-16 19:34 onlyblues 阅读(79) 评论(0) 推荐(0) 编辑
摘要:E. Expected Power You are given an array of n integers a1,a2,,an. You are also given an array p1,p2,,pn. Let S denote the 阅读全文
posted @ 2024-10-07 10:34 onlyblues 阅读(103) 评论(0) 推荐(0) 编辑
摘要:C2. Adjust The Presentation (Hard Version) This is the hard version of the problem. In the two versions, the constraints on q and the time limit are 阅读全文
posted @ 2024-10-06 21:03 onlyblues 阅读(327) 评论(1) 推荐(0) 编辑
摘要:G2. Yunli's Subarray Queries (hard version) This is the hard version of the problem. In this version, it is guaranteed that rl+k1 for all que 阅读全文
posted @ 2024-09-05 22:55 onlyblues 阅读(203) 评论(0) 推荐(0) 编辑
摘要:H. Sakurako's Test Sakurako will soon take a test. The test can be described as an array of integers n and a task on it: Given an integer x, Sakur 阅读全文
posted @ 2024-09-02 23:41 onlyblues 阅读(210) 评论(1) 推荐(2) 编辑
摘要:D2. Turtle and a MEX Problem (Hard Version) The two versions are different problems. In this version of the problem, you can't choose the same integer 阅读全文
posted @ 2024-08-27 23:45 onlyblues 阅读(126) 评论(0) 推荐(0) 编辑
摘要:E. Not a Nim Problem Two players, Alice and Bob, are playing a game. They have n piles of stones, with the i-th pile initially containing ai st 阅读全文
posted @ 2024-08-17 18:10 onlyblues 阅读(272) 评论(2) 推荐(0) 编辑
摘要:H. Ksyusha and the Loaded Set Ksyusha decided to start a game development company. To stand out among competitors and achieve success, she decided to 阅读全文
posted @ 2024-08-16 18:51 onlyblues 阅读(86) 评论(0) 推荐(1) 编辑
摘要:D. Med-imize Given two positive integers n and k, and another array a of n integers. In one operation, you can select any subarray of size k 阅读全文
posted @ 2024-08-05 23:24 onlyblues 阅读(54) 评论(0) 推荐(2) 编辑
摘要:E. Level Up Monocarp is playing a computer game. He starts the game being level 1. He is about to fight n monsters, in order from 1 to n. The 阅读全文
posted @ 2024-07-31 11:15 onlyblues 阅读(117) 评论(0) 推荐(0) 编辑
摘要:G. Penacony On Penacony, The Land of the Dreams, there exists n houses and n roads. There exists a road between house i and i+1 for all $1 \le 阅读全文
posted @ 2024-07-27 17:15 onlyblues 阅读(192) 评论(0) 推荐(0) 编辑
摘要:E. Wooden Game You are given a forest of k rooted trees. Lumberjack Timofey wants to cut down the entire forest by applying the followi 阅读全文
posted @ 2024-07-20 17:59 onlyblues 阅读(29) 评论(0) 推荐(0) 编辑
摘要:D. The Omnipotent Monster Killer You, the monster killer, want to kill a group of monsters. The monsters are on a tree with n vertices. On vertex wi 阅读全文
posted @ 2024-07-16 21:11 onlyblues 阅读(51) 评论(0) 推荐(0) 编辑

1 2 3 4 5 ··· 10 下一页
Web Analytics
点击右上角即可分享
微信分享提示