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:帮忙看看为什么总是Output Limit Exceed吧In Reply To:帮忙看看为什么总是Output Limit Exceed吧 Posted by:90303125 at 2004-01-03 11:19:12 这道题跳出循环的条件不是<0||>10000,而是不再输入有效数据。你仔细看看下面这句: while (scanf("%ld %ld",&a,&b)==2) { .... } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator