摘要:
题目如下 B. Pleasant Pairs time limit per test2 seconds memory limit per test256 megabytes You are given an array 𝑎1,𝑎2,…,𝑎𝑛 consisting of 𝑛 distinct 阅读全文
摘要:
题目如下 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 阅读全文
摘要:
题目如下 A. Mahmoud and Longest Uncommon Subsequence time limit per test2 seconds memory limit per test256 megabytes While Mahmoud and Ehab were practicin 阅读全文
摘要:
题目如下 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 阅读全文
摘要:
题目如下 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 阅读全文
摘要:
题目如下 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 阅读全文
摘要:
题目如下 A. Filling Diamonds time limit per test1 second memory limit per test256 megabytes You have integer 𝑛. Calculate how many ways are there to full 阅读全文
摘要:
题目如下 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 阅读全文