摘要:
Problem Description 有N个比赛队(1<=N<=500),编号依次为1,2,3,。。。。,N进行比赛,比赛结束后,裁判委员会要将所有参赛队伍从前往后依次排名,但现在裁判委员会不能直接获得每个队的比赛成绩,只知道每场比赛的结果,即P1赢P2,用P1,P2表示,排名时P1在P2之前。现 阅读全文
摘要:
题目描述 As a New Yorker you are always very busy. Apart from your long work day you tend to have a very long list oferrands that need to be done on any p 阅读全文
摘要:
Traffic LightTime Limit: 1 Second Memory Limit: 131072 KB DreamGrid City is a city with intersections arranged into a grid of rows and columns. The in 阅读全文
摘要:
Mergeable StackTime Limit: 2 Seconds Memory Limit: 65536 KB Given initially empty stacks, there are three types of operations: 1 s v: Push the value o 阅读全文