上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 41 下一页
摘要: Problem StatementFor a sequence of length $N$, $A = (A_1,A_2,\dots,A_N)$, consisting of integers between $1$ and $N$, inclusive, and an integer $i\ (1 阅读全文
posted @ 2023-01-09 10:12 灰鲭鲨 阅读(36) 评论(0) 推荐(0)
摘要: Problem StatementThis is an interactive task (where your program interacts with the judge's program via Standard Input and Output). You are given inte 阅读全文
posted @ 2023-01-07 12:11 灰鲭鲨 阅读(55) 评论(0) 推荐(0)
摘要: Problem StatementThere is a grid with $1 \times N$ squares, numbered $1,2,\dots,N$ from left to right. Takahashi prepared paints of $C$ colors and pai 阅读全文
posted @ 2023-01-07 11:53 灰鲭鲨 阅读(45) 评论(0) 推荐(0)
摘要: Problem StatementTakahashi Elementary School has $N$ new students. For $i = 1, 2, \ldots, N$, the name of the $i$-th new student is $S_i$ (which is a 阅读全文
posted @ 2023-01-04 17:08 灰鲭鲨 阅读(36) 评论(0) 推荐(0)
摘要: Problem StatementYou are given a sequence $A=(A_1,A_2,\dots,A_N)$ of length $N$ consisting of positive integers, where the elements of $A$ are distinc 阅读全文
posted @ 2023-01-04 16:49 灰鲭鲨 阅读(32) 评论(0) 推荐(0)
摘要: Problem StatementFind the sum of popcounts of all integers between $1$ and $N$, inclusive, such that the remainder when divided by $M$ equals $R$. Her 阅读全文
posted @ 2023-01-04 16:23 灰鲭鲨 阅读(33) 评论(0) 推荐(0)
摘要: Problem StatementGiven is a permutation $P=(P_1,P_2,\ldots,P_N)$ of $1,2,\ldots,N$, and an integer $X$. Additionally, $Q$ queries are given. The $i$-t 阅读全文
posted @ 2023-01-04 11:23 灰鲭鲨 阅读(52) 评论(0) 推荐(0)
摘要: 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 灰鲭鲨 阅读(36) 评论(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 灰鲭鲨 阅读(62) 评论(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 灰鲭鲨 阅读(47) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 41 下一页