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:对 !! 我也常常发现! 很多时候memset的值莫名其妙没有初始化全,甚至一维的都有过! 还没测出来是什么时候会发生,总之很奇怪,所以现在一wa立刻改for循环初始化。。。

Posted by golduty2 at 2009-08-27 12:37:25 on Problem 1125
In Reply To:有错在初始化上。。。 Posted by:wings at 2008-02-26 20:28:18
> 一直都用memset()来初始化的
> 调半天,居然发现memset(map,65535,sizeof(map))的数值不是期望的。。。
> 我傻了。。。

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