上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
摘要: 题目如下 B. Pleasant Pairs time limit per test2 seconds memory limit per test256 megabytes You are given an array 𝑎1,𝑎2,…,𝑎𝑛 consisting of 𝑛 distinct 阅读全文
posted @ 2025-07-03 20:03 sirro1uta 阅读(11) 评论(0) 推荐(0)
摘要: 题目如下 A. Digits Sum time limit per test1 second memory limit per test256 megabytes Let's define 𝑆(𝑥) to be the sum of digits of number 𝑥 written in 阅读全文
posted @ 2025-07-02 21:28 sirro1uta 阅读(14) 评论(0) 推荐(0)
摘要: 题目如下 A. Mahmoud and Longest Uncommon Subsequence time limit per test2 seconds memory limit per test256 megabytes While Mahmoud and Ehab were practicin 阅读全文
posted @ 2025-07-02 21:21 sirro1uta 阅读(4) 评论(0) 推荐(0)
摘要: 题目如下 A. Ambitious Kid time limit per test1 second memory limit per test256 megabytes Chaneka, Pak Chanek's child, is an ambitious kid, so Pak Chanek g 阅读全文
posted @ 2025-07-02 21:16 sirro1uta 阅读(10) 评论(0) 推荐(0)
摘要: 题目如下 You are given a string 𝑠 such that each its character is either 1, 2, or 3. You have to choose the shortest contiguous substring of 𝑠 such that 阅读全文
posted @ 2025-07-01 21:05 sirro1uta 阅读(11) 评论(0) 推荐(0)
摘要: 题目如下 After the Serbian Informatics Olympiad, Aleksa was very sad, because he didn't win a medal (he didn't know stack), so Vasilije came to give him a 阅读全文
posted @ 2025-07-01 20:43 sirro1uta 阅读(14) 评论(0) 推荐(0)
摘要: Given 𝑛 integers 𝑎1,𝑎2,…,𝑎𝑛. You can perform the following operation on them: select any element 𝑎𝑖 (1≤𝑖≤𝑛) and divide it by 2 (round down). 阅读全文
posted @ 2025-07-01 17:54 sirro1uta 阅读(14) 评论(0) 推荐(0)
摘要: 好了我们不要再吃油条了 oToTo 阅读全文
posted @ 2025-06-30 23:17 sirro1uta 阅读(12) 评论(0) 推荐(0)
摘要: 题目如下 A. Filling Diamonds time limit per test1 second memory limit per test256 megabytes You have integer 𝑛. Calculate how many ways are there to full 阅读全文
posted @ 2025-06-30 23:16 sirro1uta 阅读(13) 评论(0) 推荐(0)
摘要: 题目如下 Sasha decided to give his girlfriend an array 𝑎1,𝑎2,…,𝑎𝑛. He found out that his girlfriend evaluates the beauty of the array as the sum of th 阅读全文
posted @ 2025-06-30 22:05 sirro1uta 阅读(16) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页