摘要:
Sorting It All Out【题目链接】http://poj.org/problem?id=1094【解题思路】Floyd判环+拓扑排序;当Floy[i][i] = true 的时候就说明图中有环,拓扑排序在原图中找到路径,其实也没什么好说的,都是赤裸裸的图算法的运用,坑点的就是不知道A ... 阅读全文
摘要:
Is It A Tree?Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6961Accepted Submission(s): 1619【题目链接... 阅读全文
摘要:
Problem ITeen Girl SquadInput:Standard InputOutput:Standard OutputYou are part of a group ofnteenage girls armed withcellphones. You have some news yo... 阅读全文
摘要:
Count the TreesAnother common social inability is known as ACM (Abnormally Compulsive Meditation). This psychological disorder is somewhat common amon... 阅读全文