摘要: Problem StatementThere is a $N \times N$ grid, with blocks on some squares. The grid is described by $N$ strings $S_1,S_2,\dots,S_N$, as follows. If t 阅读全文
posted @ 2023-01-03 20:50 灰鲭鲨 阅读(39) 评论(0) 推荐(0)
摘要: Problem StatementYou are given two sequences of integers of length $N$: $A = (A_1, A_2, \ldots, A_N)$ and $B = (B_1, B_2, \ldots, B_N)$. Print the num 阅读全文
posted @ 2023-01-03 17:09 灰鲭鲨 阅读(70) 评论(0) 推荐(0)
摘要: Problem StatementThis is an interactive task, where your and the judge's programs interact via Standard Input and Output. You and the judge will follo 阅读全文
posted @ 2023-01-03 16:45 灰鲭鲨 阅读(51) 评论(0) 推荐(0)
摘要: Problem StatementA box contains $N$ balls, each with an integer between $1$ and $M-1$ written on it. For $i = 1, 2, \ldots, N$, the integer written on 阅读全文
posted @ 2023-01-03 16:37 灰鲭鲨 阅读(82) 评论(0) 推荐(0)