02 2025 档案

摘要: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 阅读(39) 评论(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 阅读(66) 评论(0) 推荐(0)
摘要:Viva La Vida(Fried-Chicken's Version) 题目描述 鸡王国有 $n$ 个城市,编号分别为 $1,2, \dots n$,初始城市之间没有任何道路连接。为了灾后重建,鸡国王决定在一些城市之间修建双向道路,于是他请首席工程师瓦爵鸡根据王国的地形地貌特征,对在城市之间修建 阅读全文
posted @ 2025-02-13 22:51 onlyblues 阅读(13) 评论(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 阅读(113) 评论(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 阅读(105) 评论(0) 推荐(0)

Web Analytics