摘要: The only difference between easy and hard versions is constraints. You are given a sequence aa consisting of nn positive integers. Let's define a thre 阅读全文
posted @ 2020-04-14 14:16 XXXSANS 阅读(249) 评论(0) 推荐(0)
摘要: You are given a correct solution of the sudoku puzzle. If you don't know what is the sudoku, you can read about it here. The picture showing the corre 阅读全文
posted @ 2020-04-14 11:51 XXXSANS 阅读(424) 评论(2) 推荐(0)
摘要: You have nn students under your control and you have to compose exactly two teams consisting of some subset of your students. Each student had his own 阅读全文
posted @ 2020-04-14 10:54 XXXSANS 阅读(424) 评论(0) 推荐(0)
摘要: You are given three positive integers nn, aa and bb. You have to construct a string ss of length nn consisting of lowercase Latin letters such that ea 阅读全文
posted @ 2020-04-14 09:24 XXXSANS 阅读(327) 评论(0) 推荐(0)