摘要:
Problem StatementYou are given a sequence $A=(A_1,\ldots,A_N)$ of length $N$. Each element is $0$, $1$, or $2$. Process $Q$ queries in order. Each que 阅读全文
posted @ 2022-09-29 22:37
灰鲭鲨
阅读(97)
评论(0)
推荐(0)
摘要:
Problem StatementIn an $N$-dimensional space, the Manhattan distance $d(x,y)$ between two points $x=(x_1, x_2, \dots, x_N)$ and $y = (y_1, y_2, \dots, 阅读全文
posted @ 2022-09-29 22:25
灰鲭鲨
阅读(57)
评论(0)
推荐(0)
摘要:
Problem StatementTakahashi is at the origin of a two-dimensional plane. Takahashi will repeat teleporting $N$ times. In each teleportation, he makes o 阅读全文
posted @ 2022-09-29 22:13
灰鲭鲨
阅读(148)
评论(0)
推荐(0)
摘要:
Problem StatementThere is a sequence $A=(A_0,\ldots,A_{N-1})$ of length $N$. Determine if there exists a tuple of integers $(x,y,z,w)$ that satisfies 阅读全文
posted @ 2022-09-29 18:38
灰鲭鲨
阅读(68)
评论(0)
推荐(0)
摘要:
Problem StatementWe have a grid with $H$ horizontal rows and $W$ vertical columns. $(i, j)$ denotes the square at the $i$-th row from the top and $j$- 阅读全文
posted @ 2022-09-29 18:32
灰鲭鲨
阅读(167)
评论(0)
推荐(0)
摘要:
Problem StatementTakahashi is exploring a cave in a video game. The cave consists of $N$ rooms arranged in a row. The rooms are numbered Room $1,2,\ld 阅读全文
posted @ 2022-09-29 18:30
灰鲭鲨
阅读(155)
评论(0)
推荐(0)
摘要:
Problem StatementA fruit store sells apples. You may perform the following operations as many times as you want in any order: Buy one apple for $X$ ye 阅读全文
posted @ 2022-09-29 18:27
灰鲭鲨
阅读(84)
评论(0)
推荐(0)

浙公网安备 33010602011771号