上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 66 下一页
摘要: G. I've Been Flipping Numbers for 300 Years and Calculated the Sum After three hundred years of slime farming, Akito finally obtained the magical numb 阅读全文
posted @ 2025-03-01 16:50 onlyblues 阅读(119) 评论(0) 推荐(0)
摘要: Check If Digits Are Equal in String After Operations II You are given a string s consisting of digits. Perform the following operation repeatedly unti 阅读全文
posted @ 2025-02-24 11:12 onlyblues 阅读(74) 评论(0) 推荐(0)
摘要: D. Eating There are $n$ slimes on a line, the $i$-th of which has weight $w_i$. Slime $i$ is able to eat another slime $j$ if $w_i \geq w_j$; afterwar 阅读全文
posted @ 2025-02-18 21:09 onlyblues 阅读(81) 评论(0) 推荐(0)
摘要: Viva La Vida(Fried-Chicken's Version) 题目描述 鸡王国有 $n$ 个城市,编号分别为 $1,2, \dots n$,初始城市之间没有任何道路连接。为了灾后重建,鸡国王决定在一些城市之间修建双向道路,于是他请首席工程师瓦爵鸡根据王国的地形地貌特征,对在城市之间修建 阅读全文
posted @ 2025-02-13 22:51 onlyblues 阅读(65) 评论(0) 推荐(0)
摘要: H. Bro Thinks He's Him Skibidus thinks he's Him! He proved it by solving this difficult task. Can you also prove yourself? Given a binary string$^{\te 阅读全文
posted @ 2025-02-10 03:27 onlyblues 阅读(165) 评论(0) 推荐(0)
摘要: Maximum Difference Between Even and Odd Frequency II You are given a string s and an integer k. Your task is to find the maximum difference between th 阅读全文
posted @ 2025-02-02 21:33 onlyblues 阅读(139) 评论(0) 推荐(0)
摘要: 智乃的Notepad(Hard version) 题目描述 本题有对应的Easy Version,区别仅在Easy为单组查询,Hard为多组,保证Easy的测试用例集为Hard的子集。 智乃在练习打字,她打开电脑上的记事本,准备输入一系列单词组成的集合,她想要知道如果想在记事本上显示过这个单词集合中 阅读全文
posted @ 2025-01-31 21:06 onlyblues 阅读(100) 评论(0) 推荐(0)
摘要: 智乃的逆序数 题目描述 定义一个序列是“紧密”的,当且仅当序列从小到大排序后,相邻数字的差值是 $1$; 定义两个序列不相交的,当且仅当两个序列没有相同元素; 逆序数指的是在一个序列或者数组中,有多少对 $i,j$ 满足 $i<j$ 且 $a_i>a_j$; 子序列为从原数组中删除任意个(可以为零、 阅读全文
posted @ 2025-01-30 11:38 onlyblues 阅读(108) 评论(0) 推荐(0)
摘要: E. Triangle Tree You are given a rooted tree$^{\text{∗}}$ containing $n$ vertices rooted at vertex $1$. A pair of vertices $(u,v)$ is called a good pa 阅读全文
posted @ 2025-01-28 18:42 onlyblues 阅读(103) 评论(0) 推荐(0)
摘要: D. Game With Triangles There are $n+m$ distinct points $(a_1,0), (a_2,0), \ldots, (a_{n},0), (b_1,2), (b_2,2), \ldots, (b_{m},2)$ on the plane. Initia 阅读全文
posted @ 2025-01-27 23:19 onlyblues 阅读(186) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 66 下一页
Web Analytics