摘要: 确定比赛名次 Problem Description 有N个比赛队(1<=N<=500),编号依次为1,2,3,。。。。,N进行比赛,比赛结束后,裁判委员会要将所有参赛队伍从前往后依次排名,但现在裁判委员会不能直接获得每个队的比赛成绩,只知道每场比赛的结果,即P1赢P2,用P1,P2表示,排名时P1 阅读全文
posted @ 2016-11-24 20:41 勿忘初心0924 阅读(321) 评论(0) 推荐(0) 编辑
摘要: What Are You Talking About Problem Description Ignatius is so lucky that he met a Martian yesterday. But he didn't know the language the Martians use. 阅读全文
posted @ 2016-11-24 19:11 勿忘初心0924 阅读(713) 评论(0) 推荐(0) 编辑
摘要: 小兔的棋盘 Problem Description 小兔的叔叔从外面旅游回来给她带来了一个礼物,小兔高兴地跑回自己的房间,拆开一看是一个棋盘,小兔有所失望。不过没过几天发现了棋盘的好玩之处。从起点(0,0)走到终点(n,n)的最短路径数是C(2n,n),现在小兔又想如果不穿越对角线(但可接触对角线上 阅读全文
posted @ 2016-11-24 17:21 勿忘初心0924 阅读(542) 评论(0) 推荐(0) 编辑
摘要: How Many Answers Are Wrong Problem Description TT and FF are ... friends. Uh... very very good friends -________-bFF is a bad boy, he is always wooing 阅读全文
posted @ 2016-11-24 15:00 勿忘初心0924 阅读(1149) 评论(0) 推荐(0) 编辑