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:bool at 2006-02-01 13:16:56 t,i;main(n,a,b){for(;scanf("%d",&n),n;i=t=!printf("%d\n",t))for(;++i<=n;!t&&(t=a+b>8?i:0))scanf("%d%d",&a,&b);} Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator