随笔分类 -  AtCoder

摘要:F - Chmax Problem Statement You are given a positive integer $N$ and a permutation $P=(P_1,P_2,\ldots,P_N)$ of $(1,2,\ldots,N)$. There are variables $ 阅读全文
posted @ 2026-07-29 17:56 onlyblues 阅读(15) 评论(0) 推荐(0)
摘要:G - Catch All Apples Problem Statement $N$ apples fall on a number line. Apple $i$ falls at coordinate $X_i$ at time $T_i$. You want to place some rob 阅读全文
posted @ 2026-05-17 17:28 onlyblues 阅读(14) 评论(0) 推荐(0)
摘要:F - Plan Holidays Problem Statement Takahashi is trying to decide his schedule for $N$ days. Initially, none of the days are holidays. He can repeat e 阅读全文
posted @ 2026-05-03 23:36 onlyblues 阅读(38) 评论(0) 推荐(0)
摘要:F - Grid Clipping Problem Statement There is a grid with $H$ rows and $W$ columns. The cell at the $r$-th row from the top and $c$-th column from the 阅读全文
posted @ 2026-03-26 17:23 onlyblues 阅读(17) 评论(0) 推荐(0)
摘要:E - Simple Division Problem Statement You are given integers $N$ and $M$. Find the remainder when $\lfloor N/M \rfloor$ is divided by $\color{red}{100 阅读全文
posted @ 2026-03-08 23:05 onlyblues 阅读(16) 评论(0) 推荐(0)
摘要:G - 221 Subsequence Problem Statement For a sequence $X = (X_1, \dots, X_n)$ of positive integers, we call $X$ a 221 sequence if and only if the lengt 阅读全文
posted @ 2026-02-26 23:23 onlyblues 阅读(29) 评论(0) 推荐(0)
摘要:E - Cookies Problem Statement There are $10^{100}$ cookies of each of $N$ types. The deliciousness per cookie of the $i$-th type is $A_i$. You will ch 阅读全文
posted @ 2026-01-13 11:22 onlyblues 阅读(22) 评论(0) 推荐(0)
摘要:F - Manhattan Christmas Tree 2 Problem Statement There are $N$ Christmas trees on a two-dimensional plane. The $i$-th $(1\le i\le N)$ Christmas tree i 阅读全文
posted @ 2025-12-22 16:21 onlyblues 阅读(25) 评论(0) 推荐(0)
摘要:E - Hit and Away Problem Statement You are given a simple connected undirected graph $G$ with $N$ vertices and $M$ edges.The vertices and edges of $G$ 阅读全文
posted @ 2025-10-29 10:35 onlyblues 阅读(33) 评论(0) 推荐(0)
摘要:F - Not Adjacent Problem Statement You are given a length-$N$ integer sequence $A=(A _ 1,A _ 2,\ldots,A _ N)$. There are $2 ^ N$ (not necessarily cont 阅读全文
posted @ 2025-10-18 23:30 onlyblues 阅读(42) 评论(0) 推荐(0)
摘要:F - Clearance Problem Statement AtCoder Inc.'s online shop currently handles $N$ products, and the stock of product $i$ is $A_i$ units remaining. Proc 阅读全文
posted @ 2025-10-05 23:15 onlyblues 阅读(56) 评论(0) 推荐(1)
摘要:G - Specified Range Sums Problem Statement You are given an integer $N$ and length-$M$ integer sequences $L=(L_1,L_2,\dots,L_M)$, $R=(R_1,R_2,\dots,R_ 阅读全文
posted @ 2025-05-05 12:19 onlyblues 阅读(99) 评论(0) 推荐(0)
摘要:F - Path to Integer Problem Statement There is an $N\times N$ grid. Let cell $(i,j)$ denote the cell in the $i$-th row from the top and $j$-th column 阅读全文
posted @ 2025-05-03 16:46 onlyblues 阅读(42) 评论(0) 推荐(0)
摘要:F - Diversity Problem Statement There are $N$ products for sale in a store. The $i$-th product has a price of $P_i$ yen, a utility value of $U_i$, and 阅读全文
posted @ 2024-12-13 16:30 onlyblues 阅读(58) 评论(0) 推荐(0)
摘要:F - Takahashi in Narrow Road Problem Statement There is a road extending east and west, and $N$ persons are on the road. The road extends infinitely l 阅读全文
posted @ 2024-09-24 16:19 onlyblues 阅读(121) 评论(0) 推荐(0)
摘要:E - Permute K times Problem Statement You are given a sequence $X$ of length $N$ where each element is between $1$ and $N$, inclusive, and a sequence 阅读全文
posted @ 2024-08-18 17:10 onlyblues 阅读(119) 评论(0) 推荐(1)
摘要:G - AtCoder Office Problem Statement $N$ people work at the AtCoder office. The office keeps records of entries and exits, and there have been $M$ ent 阅读全文
posted @ 2024-08-10 17:46 onlyblues 阅读(89) 评论(0) 推荐(0)
摘要:G - AtCoder Tour Problem Statement AtCoder Land is represented by a grid with $H$ rows and $W$ columns. Let $(i, j)$ denote the cell at the $i$-th row 阅读全文
posted @ 2024-06-18 21:53 onlyblues 阅读(69) 评论(0) 推荐(0)
摘要:F - Two Sequence Queries Problem Statement You are given sequences of length $N$, $A=(A_1,A_2,\ldots,A_N)$ and $B=(B_1,B_2,\ldots,B_N)$.You are also g 阅读全文
posted @ 2024-06-09 18:05 onlyblues 阅读(158) 评论(0) 推荐(1)
摘要:F - MST Query Problem Statement You are given a weighted undirected connected graph $G$ with $N$ vertices and $N-1$ edges, where vertices are numbered 阅读全文
posted @ 2024-05-27 21:21 onlyblues 阅读(108) 评论(0) 推荐(0)

Web Analytics