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 |
要看清题意题意啊!!!!!!!走廊占用的范围要注意,如果是从3到5,实际占用的范围是3到6.如果是2到4,实际的范围是1到4. 其实用线段树也是可以的,反正查出被占用最多的房间前面的走廊究竟被占用几次,乘以10就可以了。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator