Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:memset中间的值是short型的,无符号超过65535,有符号超过[-32766,32767]都会有问题,用C++的fill函数吧,也能充分利用cacheIn 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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator