随笔分类 - 我的原创题
版权所有
摘要:Description Before the game starts, \(n\) coins are placed on a ring clockwise, and the \(i\) coin has a face value of \(w_i\). At each step of the ga
阅读全文
摘要:Description The \(n\) people line up in a line from left to right, and everyone faces either to the left or to the right. The relationship between the
阅读全文
摘要:Description In mathematics, \(\sqrt{x}\) represents the arithmetic square root of \(x\). If \(\sqrt{x} = y\), then \(y \ge 0\) and \(y^2 = x\). Given
阅读全文
摘要:Description \(\text{Smart}\) has $1$ magic rings and \(n\) magic beads. Some magic beads have a "mysterious connection". Now you need to place these \
阅读全文
摘要:Description Give you a string \(S\) with a length of \(n\) and only lowercase letters (subscripts start from $1$ to \(n\)), perform the following two
阅读全文
摘要:Description There are two integer arrays \(A\) and \(B\) of length \(n\). The value of the array \(A\) will only be $1, 0$ or \(-1\). You can perform
阅读全文
摘要:Description \(\text{Smart}\) participated in the \(n\) \(\operatorname{OnlineJudge}\) tour. His ranking position in the first competition is \(\operat
阅读全文
摘要:Description Given a string \(s\) with a length of \(n\) and a string \(c\) with a length of \(m\), the defined level \(\operatorname{level(s,c)}\) rep
阅读全文
摘要:Description Smart likes to use arrays. Today, he needs your help to complete a difficult task. If for each non-empty sub-array of the array \(A\) (a s
阅读全文
摘要:Description Given a tree of \(n\) nodes, the node number is $1 \sim n$ (the root node number is $1$). For each leaf node, output the path from the roo
阅读全文
摘要:Description A terrible new disease, COVID-19, has begun to spread all over the world. People try to take as many precautions as possible to protect th
阅读全文
摘要:Description XX years ago, there was an old man named Yu Gong who was almost 90 years old. There is \(N\) li shan Road from his home to the city, which
阅读全文

浙公网安备 33010602011771号