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中间的值是short型的,无符号超过65535,有符号超过[-32766,32767]都会有问题,用C++的fill函数吧,也能充分利用cache

Posted by suyang16 at 2014-10-26 20:09:42 on Problem 1050 and last updated at 2014-10-26 20:12:33
In Reply To:memset中间的值是short型的,无符号超过65535,有符号超过[-32766,32767]都会有问题,用C++的fill函数吧,也能充分利用cache Posted by:schindlerlee at 2009-09-22 18:48:32
哪里是short呀,其实是unsigned char,参见http://www.cplusplus.com/reference/cstring/memset/

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