摘要: 七种qsort排序方法一、对int类型数组排序intnum[100];Sample:intcmp(constvoid*a,constvoid*b){return*(int*)a-*(int*)b;}qsort(num,100,sizeof(num[0]),cmp);二、对char类型数组排序(同in... 阅读全文
posted @ 2014-05-27 13:44 小叶叶 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 题目:The famous ACM (Advanced Computer Maker) Company has rented a floor of a building whose shape is in the following figure. The floor has 200 rooms e... 阅读全文
posted @ 2014-05-27 12:38 小叶叶 阅读(353) 评论(0) 推荐(0) 编辑