Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
为什么不比较最后一段?In Reply To:很奇怪的WA与AC Posted by:Rieman at 2010-12-17 16:42:14 “Also building two new highways in one city would disturb people too much, so all the cities that would be the ends of the new highways must be different. ” 题意只说不能让Highway的end相同,没说起点不能相同啊。 也就是说,如果这组数据: 4 100 200 201 那么3~4路段是最短的,所以输出答案可以是:4 1 4 3 你的答案却是:3 1 4 2,也就是选择2~3之间作为循环节。 不懂为什么你这样可以额…… Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator