摘要:
链接: http://codeforces.com/problemset/problem/962/D 题意:给出一个整数序列。选择其中最小且出现两次及以上的数,把左边第一个加到左边第二个上, 再去掉左边第一个,不断重复上述过程,直到序列中的每个数都是唯一的,输出最后的序列。 分析:“每次选择最前面两 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文