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 |
ft! The input is terminated by a line containing three -1 values.请看一下这一句:“The input is terminated by a line containing three -1 values.” 应该用:while(a!=-1 || b!=-1 || c!=-1){ ... }吧??? 因为: !(a==-1 && b==-1 && c==-1) ==> a!=-1 || b!=-1 || c!=-1 可是while(a!=-1 && b!=-1 && c!=-1){ ... }竟然也过了!!! 请解释一下,OK??? 谢谢了! Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator