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

说句实话,这题有点恶。。。

Posted by Zeor at 2009-04-24 13:51:08 on Problem 1840
就像前面discuss说到的
不开__int64的话
0 0 0 0 0
会越界
但是题目数据里面没有考虑到这种情况
如果开__int64的话
如果采用
x1 x2 x3 = -x4 -x5
mle
只能采用第二种分解方法
而且链表就算加个上限判断,指针交换的时间也很长。。。哎。。。

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