摘要:
Hopscotch Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 4385 Accepted: 2924 Description The cows play the child's game of hopscotch in a 阅读全文
摘要:
Backward Digit Sums Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7634 Accepted: 4398 Description FJ and his cows enjoy playing a mental 阅读全文
摘要:
next_permutation()可以按字典序生成所给区间的全排列。 在STL中,除了next_permutation()外,还有一个函数prev_permutation(),两者都是用来计算排列组合的函数。前者是求出下一个排列组合,而后者是求出上一个排列组合。所谓“下一个”和“上一个”,书中举了 阅读全文
摘要:
Smallest Difference Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 12158 Accepted: 3306 Description Given a number of distinct decimal dig 阅读全文