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 HTwood at 2013-03-27 21:27:14 on Problem 3013
1、用int64存储信息
2、似乎edge要开200000
3、n=0或1时输出0
4、确认你的spfa没写错,访问下一个节点前先对当前节点置v[x]=true(环!),最后置为false
5、最后检验时要记得从i=2时开始检验
6、inf要是1<<61左右,太大会爆,太小不行
7、双向边,重边

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