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:以前总是Runtime error,用了qsort后一次AC!!!!!!!!! 贴上代码,纪念一下.(C语言)

Posted by yangtclive at 2009-11-23 15:53:55 on Problem 1002
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:
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