摘要: 问题描述 Grammy has a sequence A of length n. Please find a permutation P such that Pi≠Ai for all i. 输入格式 There are multiple test cases. The first line co 阅读全文
posted @ 2022-08-20 21:17 SAKURA12 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 问题描述 What's the feeling of designing an icon for a school as a programmer? Now you have a chance doing it! The icon of Nanjing Foreign Language School 阅读全文
posted @ 2022-08-20 20:16 SAKURA12 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 问题描述 One day, NIO's home is out of power. So Nio and his sister, Yasa, wanted to take some headphones from the drawer. In the dark, If they randomly t 阅读全文
posted @ 2022-08-20 20:07 SAKURA12 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 问题描述 In a confined NIO space, there are n NIO particles, the i-th of which has ai​ joule energy. The NIO particles are very special as they keep colli 阅读全文
posted @ 2022-08-20 19:03 SAKURA12 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 问题描述 NIO was the king of the OIN Kingdom. He had N children and wanted to teach them how to count. In the OIN Kingdom, pental is used in counting, so 阅读全文
posted @ 2022-08-20 18:19 SAKURA12 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 问题描述 First, let's review some definitions. Feel free to skip this part if you are familiar with them. A sequence aaa is an increasing (decreasing) sub 阅读全文
posted @ 2022-08-20 17:59 SAKURA12 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 问题描述 Eibwen is a newbie in Python. You might know that when you input a number in the command line, your Python program will receive a string containi 阅读全文
posted @ 2022-08-20 17:09 SAKURA12 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 问题描述 There is a candy store near Mocha's school. It's said that the storekeeper, Dagashiya, can cast the railgun spell. To be the most powerful Mahou 阅读全文
posted @ 2022-08-20 16:38 SAKURA12 阅读(41) 评论(0) 推荐(0) 编辑