摘要: You are given an array of integers. Vasya can permute (change order) its integers. He wants to do it so that as many as possible integers will become 阅读全文
posted @ 2019-10-04 22:23 __MEET 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Professor Dumbledore is helping Harry destroy the Horcruxes. He went to Gaunt Shack as he suspected a Horcrux to be present there. He saw Marvolo Gaun 阅读全文
posted @ 2019-10-04 22:22 __MEET 阅读(228) 评论(0) 推荐(0) 编辑
摘要: There is a youngster known for amateur propositions concerning several mathematical hard problems. Today he is going to prepare a thought-provoking pr 阅读全文
posted @ 2019-10-04 22:21 __MEET 阅读(153) 评论(0) 推荐(0) 编辑
摘要: KazaQ wears socks every day. Before the first day, he has nn pairs of socks in his closet, labeled from 11 to nn. Every morning, he would put on a pai 阅读全文
posted @ 2019-10-04 22:19 __MEET 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Gildong is playing a video game called Block Adventure. In Block Adventure, there are nn columns of blocks in a row, and the columns are numbered from 阅读全文
posted @ 2019-10-04 22:18 __MEET 阅读(237) 评论(0) 推荐(0) 编辑
摘要: Dima worked all day and wrote down on a long paper strip his favorite number nnconsisting of ll digits. Unfortunately, the strip turned out to be so l 阅读全文
posted @ 2019-10-04 10:33 __MEET 阅读(287) 评论(0) 推荐(0) 编辑
摘要: Let's call (yet again) a string good if its length is even, and every character in odd position of this string is different from the next character (t 阅读全文
posted @ 2019-10-04 09:51 __MEET 阅读(292) 评论(0) 推荐(0) 编辑