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:一个我错的地方 Posted by:xyh33210 at 2009-05-18 09:46:36 3x,犯了同样的错误! if -》 while过了。。 > 5 4 > 1 3 5 E > 1 2 5 S > 1 5 5 W > 1 4 5 N > 3 > 2 5 4 > 2 4 4 > 3 4 4 > > > 答案是 > 10 > 10 > 10 > > > 因为我是先将所有建树和询问的信息全部读入,然后边建树变判断是否符合index的时间,也就是我只判断了单组的询问,如果几组询问的index是相同的,就会只输出一组答案。 > Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator