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 |
Re:这题有问题 ,题意自相矛盾!如下...In Reply To:这题有问题 ,题意自相矛盾!如下... Posted by:windyrobin at 2008-09-05 15:41:55 谢谢提醒,按第一句理解是WA,我改为按第二句的意思理解AC了!对于-1的理解是:在收到r命令的时候,如果队列是空的,就输出-1.我最开始理解成在所有的输出开始之前,如果最终队列是空的,就输出一个-1,而不再输出其它! Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator