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:yizer at 2009-01-04 04:44:19 scanf("%d",&t); while (t--){ scanf("%d",&n); printf("%d %d\n",(n&(n-1))|1,n|(n-1)); } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator