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:把min 设成0x7FFFFFFF,WA,改为0x7FFFFF,AC 为甚么啊,

Posted by HEU_xiuyang at 2011-11-22 17:23:15 on Problem 3268
In Reply To:Re:把min 设成0x7FFFFFFF,WA,改为0x7FFFFF,AC 为甚么啊, Posted by:HEU_xiuyang at 2011-11-22 17:22:46
0x7FFFFF就过了,因为0x7FFFFFFF在比较的时候d[u]+map[u][j]一加就冒了,变成负数了!!!  

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