01 2024 档案

摘要:D. Blocking Elements You are given an array of numbers a1,a2,,an. Your task is to block some elements of the array in order to minimize 阅读全文
posted @ 2024-01-31 19:15 onlyblues 阅读(29) 评论(0) 推荐(0) 编辑
摘要:F - Negative Traveling Salesman Problem Statement There is a weighted simple directed graph with N vertices and M edges. The vertices are numbered 阅读全文
posted @ 2024-01-30 21:46 onlyblues 阅读(4) 评论(0) 推荐(0) 编辑
摘要:F - Nim Problem Statement You are given integers N,A1,A2,A3. Find the number, modulo 998244353, of triples of positive integers (X1,X2,X3) 阅读全文
posted @ 2024-01-27 17:34 onlyblues 阅读(15) 评论(0) 推荐(0) 编辑
摘要:我谔谔,数位 dp 几年了还不会,学的都是些奇奇怪怪的写法,导致每次比赛遇到数位 dp 的题要么不会,要么写半天。灵神的数位 dp 模板其实很早就有看过,不过当时不是很理解递归的含义于是放弃了,最近重新来回来看发现还是递归好写,不仅简短而且基本都是一个框架,这就可以大大减少思考量,基本只要遇到数位 阅读全文
posted @ 2024-01-26 22:51 onlyblues 阅读(762) 评论(0) 推荐(0) 编辑
摘要:G. Mischievous Shooter Once the mischievous and wayward shooter named Shel found himself on a rectangular field of size n×m, divided into uni 阅读全文
posted @ 2024-01-24 21:46 onlyblues 阅读(42) 评论(0) 推荐(0) 编辑
摘要:F1. Smooth Sailing (Easy Version) The only difference between the two versions of this problem is the constraint on q. You can make hacks only if bo 阅读全文
posted @ 2024-01-23 18:53 onlyblues 阅读(9) 评论(0) 推荐(0) 编辑
摘要:B - Arithmetic Progression Subsequence Problem Statement You are given a sequence A of length N consisting of integers between 1 and $\textbf{10 阅读全文
posted @ 2024-01-22 18:50 onlyblues 阅读(41) 评论(0) 推荐(0) 编辑
摘要:F - Usual Color Ball Problems Problem Statement You are given positive integers N, M, K, and a sequence of positive integers of length N, $(C_ 阅读全文
posted @ 2024-01-21 19:00 onlyblues 阅读(63) 评论(0) 推荐(0) 编辑
摘要:D. Array Repetition Jayden has an array a which is initially empty. There are n operations of two types he must perform in the given order. Jayden 阅读全文
posted @ 2024-01-19 21:17 onlyblues 阅读(10) 评论(0) 推荐(0) 编辑
摘要:F - Hop Sugoroku Problem Statement There is a row of N squares labeled 1,2,,N and a sequence A=(A1,A2,,AN) of length N.Initially, 阅读全文
posted @ 2024-01-17 19:30 onlyblues 阅读(12) 评论(0) 推荐(0) 编辑
摘要:F. Sum of Progression You are given an array a of n numbers. There are also q queries of the form s,d,k. For each query q, find the sum of 阅读全文
posted @ 2024-01-16 23:48 onlyblues 阅读(73) 评论(0) 推荐(0) 编辑
摘要:E. Happy Life in University Egor and his friend Arseniy are finishing school this year and will soon enter university. And since they are very respons 阅读全文
posted @ 2024-01-14 00:59 onlyblues 阅读(5) 评论(0) 推荐(0) 编辑
摘要:制作地图 贝茜正在学习制作扫雷地图。 作为初学者,它打算先从简单的一维地图做起,它准备制作一张 1×n 大小的地图(即 1×n 的方格矩阵)。 地图中含有地雷的方格,应标记为 *;不含地雷的方格,应标记为一个 02 之间的数字,用来表示其相邻方格中的 阅读全文
posted @ 2024-01-12 18:33 onlyblues 阅读(13) 评论(0) 推荐(0) 编辑
摘要:重新分装 有 n 种零件,编号 1n。 第 i 种零件的数量为 ai。 有 n 个箱子,编号 1n。 初始时,所有零件都装在第 1 个箱子里。 我们希望将所有零件重新分装,使得最终对于每个 i1in)都满足,所有的第 阅读全文
posted @ 2024-01-11 22:24 onlyblues 阅读(6) 评论(0) 推荐(0) 编辑

Web Analytics
点击右上角即可分享
微信分享提示