摘要: Problem StatementThere is a grid with $H$ rows from top to bottom and $W$ columns from left to right. Let $(i, j)$ denote the square at the $i$-th row 阅读全文
posted @ 2022-11-19 22:30 灰鲭鲨 阅读(69) 评论(0) 推荐(0)
摘要: section> Problem StatementFor sequences $B=(B_1,B_2,\dots,B_M)$ and $C=(C_1,C_2,\dots,C_M)$, each of length $M$, consisting of non-negative integers, 阅读全文
posted @ 2022-11-19 22:13 灰鲭鲨 阅读(117) 评论(0) 推荐(0)
摘要: Problem StatementOn a number line, there are $N$ fish swimming. Fish $i$, which has a weight of $W_i$, is at the coordinate $X_i$ at time $0$ and move 阅读全文
posted @ 2022-11-19 21:45 灰鲭鲨 阅读(60) 评论(0) 推荐(0)
摘要: Problem StatementIn a two-dimensional plane, there are $N$ towns and $M$ chests. Town $i$ is at the coordinates $(X_i,Y_i)$, and chest $i$ is at the c 阅读全文
posted @ 2022-11-19 21:27 灰鲭鲨 阅读(52) 评论(0) 推荐(0)
摘要: Problem StatementYou are given a sequence $A = (A_1, A_2, \dots, A_N)$ of length $N$ consisting of positive integers, and integers $x$ and $y$. Determ 阅读全文
posted @ 2022-11-19 21:18 灰鲭鲨 阅读(29) 评论(0) 推荐(0)