随笔分类 - 其它-STL
摘要:1163 最高的奖励 1163 最高的奖励 1163 最高的奖励 有N个任务,每个任务有一个最晚结束时间以及一个对应的奖励。在结束时间之前完成该任务,就可以获得对应的奖励。完成每一个任务所需的时间都是1个单位时间。有时候完成所有任务是不可能的,因为时间上可能会有冲突,这需要你来取舍。求能够获得的最高
阅读全文
摘要:Description 题目描述: 大家知道,给出正整数n,则1到n这n个数可以构成n!种排列,把这些排列按照从小到大的顺序(字典顺序)列出,如n=3时,列出1 2 3,1 3 2,2 1 3,2 3 1,3 1 2,3 2 1六个排列。 任务描述: 给出某个排列,求出这个排列的下k个排列,如果遇到
阅读全文
摘要:排列2 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8893 Accepted Submission(s): 3278 Problem Des
阅读全文
摘要:Ignatius and the Princess II Problem Description Now our hero finds the door to the BEelzebub feng5166. He opens the door and finds feng5166 is about
阅读全文
摘要:UVA10815 注意输出流的用法。 Misha and Changing Handles Misha hacked the Codeforces site. Then he decided to let all the users change their handles. A user can
阅读全文