摘要: Problem StatementWe have a number line. Takahashi painted some parts of this line, as follows: First, he painted the part from $X=L_1$ to $X=R_1$ red. 阅读全文
posted @ 2022-09-04 21:20 灰鲭鲨 阅读(211) 评论(0) 推荐(0)
摘要: Problem Statement$N$ players played a round-robin tournament. You are given an $N$-by-$N$ table $A$ containing the results of the matches. Let $A_{i,j 阅读全文
posted @ 2022-09-04 21:16 灰鲭鲨 阅读(62) 评论(0) 推荐(0)
摘要: Problem StatementFor two strings $A$ and $B$, let $A+B$ denote the concatenation of $A$ and $B$ in this order. You are given $N$ strings $S_1,\ldots,S 阅读全文
posted @ 2022-09-04 21:13 灰鲭鲨 阅读(125) 评论(0) 推荐(0)
摘要: Problem StatementThere are $N$ balls arranged from left to right. The color of the $i$-th ball from the left is Color $C_i$, and an integer $X_i$ is w 阅读全文
posted @ 2022-09-04 21:04 灰鲭鲨 阅读(87) 评论(0) 推荐(0)
摘要: Problem StatementTakahashi will toss a coin $N$ times. He also has a counter, which initially shows $0$. Depending on the result of the $i$-th coin to 阅读全文
posted @ 2022-09-04 20:43 灰鲭鲨 阅读(97) 评论(0) 推荐(0)
摘要: Problem Statement We have a variable $X$ and $N$ kinds of operations that change the value of $X$. Operation $i$ is represented as a pair of integers 阅读全文
posted @ 2022-09-04 18:48 灰鲭鲨 阅读(89) 评论(0) 推荐(0)
摘要: Problem Statement We have a directed graph with $N$ vertices and $M$ edges. Edge $i$ is directed from Vertex $A_i$ to $B_i$.and has a weight of $C_i$. 阅读全文
posted @ 2022-09-04 18:35 灰鲭鲨 阅读(83) 评论(0) 推荐(0)
摘要: Problem Statement You are given two strings $S$ and $T$ consisting of lowercase English letters. Takahashi starts with the string $S$. He can perform 阅读全文
posted @ 2022-09-04 15:57 灰鲭鲨 阅读(289) 评论(0) 推荐(0)