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

Re:用prim算法,但是memset清零时出错了,大牛能告诉下原因么?

Posted by yzx at 2009-04-22 21:36:51 on Problem 2421
In Reply To:用prim算法,但是memset清零时出错了,大牛能告诉下原因么? Posted by:huanglj at 2008-09-29 21:30:04
memset的大小错了,最好用sizeof来得到大小吧,应该是100*sizeof(int),或者sizeof(flags)

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