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:以前总是Runtime error,用了qsort后一次AC!!!!!!!!! 贴上代码,纪念一下.(C语言)In Reply To:以前总是Runtime error,用了qsort后一次AC!!!!!!!!! 贴上代码,纪念一下.(C语言) Posted by:qichao at 2009-08-03 09:59:44 我的二维数组用char **cc=(char**)malloc(sizeof(char*)*num);表示时,快排排错了,同样是qsort 改成cc[100001][10]这种方式时OK,不知道为啥?!! Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator