摘要: 链接: http://codeforces.com/problemset/problem/962/D 题意:给出一个整数序列。选择其中最小且出现两次及以上的数,把左边第一个加到左边第二个上, 再去掉左边第一个,不断重复上述过程,直到序列中的每个数都是唯一的,输出最后的序列。 分析:“每次选择最前面两 阅读全文
posted @ 2018-04-13 22:10 ACRykl 阅读(269) 评论(0) 推荐(0) 编辑
摘要: C. Make a Square time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Make a Square time l 阅读全文
posted @ 2018-04-13 20:09 ACRykl 阅读(712) 评论(0) 推荐(0) 编辑
摘要: B. Students in Railway Carriage time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output B. Stude 阅读全文
posted @ 2018-04-13 16:18 ACRykl 阅读(375) 评论(0) 推荐(0) 编辑