摘要:
http://www.cnblogs.com/wally/p/3281361.htmlpoj 1659(havel算法)题目链接:http://poj.org/problem?id=1659思路: havel算法的应用:(1)对序列从大到小进行排序。(2)设最大的度数为 t ,把最大的度数置0,然后... 阅读全文
摘要:
Easy billiardsTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeEdward think a game of billiards is too long and boring. So he invented a ... 阅读全文