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

Re:网上找的代码,路过的看看吧,服了...

Posted by wwfdzh2013 at 2014-01-14 19:13:01 on Problem 2453
In Reply To:网上找的代码,路过的看看吧,服了... Posted by:vortex101 at 2009-02-26 13:51:45
> #include <stdio.h>
> int main()
> {
>     int n,x;
>     while(scanf("%d",&n),n)
>     {
>         x=n&-n;
>         printf("%d\n",n+x+(n^n+x)/x/4);
>     }
> }
顿时感觉人生无意义了

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