Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

难题不会做,只会抠无聊的东西,你们学校真该庆幸你不是他们的主力

Posted by frkstyc at 2006-09-05 14:37:11 on Problem 2988
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator