摘要: 有N个比赛队(1<=N<=500),编号依次为1,2,3,。。。。,N进行比赛,比赛结束后,裁判委员会要将所有参赛队伍从前往后依次排名,但现在裁判委员会不能直接获得每个队的比赛成绩,只知道每场比赛的结果,即P1赢P2,用P1,P2表示,排名时P1在P2之前。现在请你编程序确定排名。 Input输入有 阅读全文
posted @ 2018-08-05 19:27 wayBack 阅读(139) 评论(0) 推荐(0)
摘要: There is going to be a party to celebrate the 80-th Anniversary of the Ural State University. The University has a hierarchical structure of employees 阅读全文
posted @ 2018-08-05 18:15 wayBack 阅读(110) 评论(0) 推荐(0)
摘要: 题目描述 In Finite Encyclopedia of Integer Sequences (FEIS), all integer sequences of lengths between 1 and N (inclusive) consisting of integers between 1 阅读全文
posted @ 2018-08-04 16:47 wayBack 阅读(186) 评论(0) 推荐(0)
摘要: i.sandglass 题目描述 We have a sandglass consisting of two bulbs, bulb A and bulb B. These bulbs contain some amount of sand. When we put the sandglass, e 阅读全文
posted @ 2018-07-30 17:14 wayBack 阅读(132) 评论(0) 推荐(0)