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 3017218189 at 2020-08-19 11:53:25 on Problem 1273
矩阵表示的话初始化为0,然后输入的是x,y,z
需要注意的是使用G[x][y]+=z 不要用G[x][y] = z因为很可能有重边

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