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

弱智地wa,原来是0 == -0

Posted by zfy0701 at 2008-07-15 14:34:39 on Problem 3648
在我的程序中,i号丈夫是i, i号妻子是-i,比赛时一直wa,

刚刚去看了标程,i号丈夫是i, i号妻子是~i,大多数情况这两者区别不大,但是对于0的情况

0 == -0

但是0 != ~0,后来把 -改成~,ac了



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