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的可以看一下

Posted by allh123 at 2013-05-05 15:48:33 on Problem 1191
用double,然后用%.3lfWA
用%.3fAC
在DP时min的初始值赋为10^7WA
赋为10^8AC
这点我还比较想得通,棋盘最大的总分和为6400,最大的平方和即为6400^6400,为40960000
你赋的min值至少应该大于这个数,否则就不对了,所以10^7可能会错
我中间赋过一个0x7fffffff,既然导致出现了负数,怎么会啊。。。。。不了解

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