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:如果代码能写短的话(当然这题不是),还要压缩代码,一个字节一个字节地抠.比如2975的代码见内 Posted by:majia001 at 2006-09-05 14:22:56 > 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