随笔分类 -  STL

摘要:C - Matrix Chain Multiplication(Stack应用) There is a famous railway station in PopPush City. Country there is incredibly hilly. The station was built i 阅读全文
posted @ 2020-03-05 23:16 liyexin 阅读(169) 评论(0) 推荐(0)
摘要:Problem Description 有一群人,打乒乓球比赛,两两捉对撕杀,每两个人之间最多打一场比赛。球赛的规则如下:如果A打败了B,B又打败了C,而A与C之间没有进行过比赛,那么就认定,A一定能打败C。如果A打败了B,B又打败了C,而且,C又打败了A,那么A、B、C三者都不可能成为冠军。根据这 阅读全文
posted @ 2019-10-31 16:50 liyexin 阅读(203) 评论(0) 推荐(0)