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 |
这题坑人的地方,附数据一组如果初始card中就有目标状态,那么:如目标状态为0,则输出1,否则输出2 附数据一组,你能通过吗? 2 1 01 10 答案: 1 00 解释:00和10与目标状态差距均为1,但00更小。之所以要一步是因为 (10)2 xor (10)2= 00 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator