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 |
如果代码能写短的话(当然这题不是),还要压缩代码,一个字节一个字节地抠.比如2975的代码见内In Reply To:够了,停吧,光会改常数有什么用! Posted by:frkstyc at 2006-09-05 11:30:35 s,*k=&s;main(n){for(;scanf("%d",&n),n;printf("%d\n",n+1)){for(s=0;n--;s^=*k)scanf("%d",++k);for(;k-&s;)n+=*k>(*k--^s);}} //use gcc Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator