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 heyuhhh at 2019-01-04 09:26:56 on Problem 2396
我被这个题坑了几个小数555,最后面向数据编程还是A了...
说一下几个注意的地方(反正我是这样的):
1.输入数据可能有矛盾,注意判断;
2.输入数据可能有重复,我在输入"="的时候对数组进行了修改,一开始没注意这点,就多减了....
3.将>x看成>=x+1好处理一些,"<"也类似;
4.由于二分图右侧的点编号为n+x,所以注意下数组的索引...

其实就是主要注意一下"="的情况就好了,还有就是建图时边权容量为上界-下界。

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