摘要:
七种qsort排序方一、对int类型数组排序int num[100];Sample:int cmp ( const void *a , const void *b ){return *(int *)a - *(int *)b;}qsort(num,100,sizeof(num[0]),cmp);二、对char类型数组排序(同int类型)char word[100];Sample:int cmp( const void *a , const void *b ){return *(char *)a - *(int *)b;}qsort(word,100,sizeof(word[0]),cmp);三 阅读全文
posted @ 2013-08-19 09:35
WangLC
阅读(286)
评论(0)
推荐(0)
摘要:
DescriptionYou have devised a new encryption technique which encodes a message by inserting between its characters randomly generated strings in a clever way. Because of pending patent issues we will not discuss in detail how the strings are generated and inserted into the original message. To valid 阅读全文
posted @ 2013-08-19 09:13
WangLC
阅读(200)
评论(0)
推荐(0)

浙公网安备 33010602011771号