上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: 题目如下 C. Dominant Piranha time limit per test2 seconds memory limit per test256 megabytes There are 𝑛 piranhas with sizes 𝑎1,𝑎2,…,𝑎𝑛 in the aquari 阅读全文
posted @ 2025-07-25 21:12 sirro1uta 阅读(11) 评论(0) 推荐(0)
摘要: 题目如下 D. Alice, Bob and Candies time limit per test2 seconds memory limit per test256 megabytes There are 𝑛 candies in a row, they are numbered from l 阅读全文
posted @ 2025-07-25 20:21 sirro1uta 阅读(16) 评论(0) 推荐(0)
摘要: 题目链接3.无重复字符的最长子串 https://leetcode.cn/problems/longest-substring-without-repeating-characters/description/ 通过滑动窗口找出最长的不重复子字符串,从左向右依次移动右指针,进行每次碰到重复,移动左指 阅读全文
posted @ 2025-07-24 22:16 sirro1uta 阅读(12) 评论(0) 推荐(0)
摘要: 题目如下 B. Minority time limit per test2 seconds memory limit per test256 megabytes You are given a string 𝑠, consisting only of characters '0' and '1'. 阅读全文
posted @ 2025-07-23 21:57 sirro1uta 阅读(10) 评论(0) 推荐(0)
摘要: 题目如下 B. Dictionary time limit per test2 seconds memory limit per test512 megabytes The Berland language consists of words having exactly two letters. 阅读全文
posted @ 2025-07-23 21:32 sirro1uta 阅读(10) 评论(0) 推荐(0)
摘要: 题目如下 A. Buying Torches time limit per test1 second memory limit per test256 megabytes You are playing a very popular game called Cubecraft. Initially, 阅读全文
posted @ 2025-07-23 20:19 sirro1uta 阅读(4) 评论(0) 推荐(0)
摘要: 题目如下 A. String Similarity time limit per test2 seconds memory limit per test256 megabytes A binary string is a string where each character is either 0 阅读全文
posted @ 2025-07-22 22:14 sirro1uta 阅读(7) 评论(0) 推荐(0)
摘要: 题目如下 A. Alice and Books time limit per test1 second memory limit per test256 megabytes Alice has 𝑛 books. The 1-st book contains 𝑎1 pages, the 2-nd 阅读全文
posted @ 2025-07-22 21:27 sirro1uta 阅读(12) 评论(0) 推荐(0)
摘要: 题目如下 C. Assembly via Remainders time limit per test2 seconds memory limit per test256 megabytes You are given an array 𝑥2,𝑥3,…,𝑥𝑛. Your task is to 阅读全文
posted @ 2025-07-22 20:16 sirro1uta 阅读(7) 评论(0) 推荐(0)
摘要: 题目如下 B. Maximum Cost Deletion time limit per test2 seconds memory limit per test256 megabytes You are given a string 𝑠 of length 𝑛 consisting only o 阅读全文
posted @ 2025-07-21 22:46 sirro1uta 阅读(9) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 12 下一页