//目录
摘要: 题意:给一个n长度的整数,删掉 k 个数字,使得剩下的数字最大。 分析:还剩 n-k 个数字,就是在原序列里面,相对顺序不变的情况下,这个n-k个数字组成的数最大。 感觉没有什么特别好的方法策略,看了一下方案,策略是: 不断的调整这n-k个数字,感觉这个时间复杂度受不了,哈哈~~~ 如何调整:当我确 阅读全文
posted @ 2017-09-13 22:01 小草的大树梦 阅读(158) 评论(0) 推荐(0) 编辑
摘要: A. Arpa and a research in Mexican wave Arpa is researching the Mexican wave. There are n spectators in the stadium, labeled from 1 to n. They start th 阅读全文
posted @ 2017-09-13 20:26 小草的大树梦 阅读(205) 评论(0) 推荐(0) 编辑