![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ACM_排序
cowboy90
这个作者很懒,什么都没留下…
展开
-
sort 字符串排序
#include #include #include struct Q { char name[12]; }nam[12]; int com(Q A,Q B) { if( strcmp(A.name ,B.name) return 0; } int main() { int n,i; scanf("%d",&n); for(i=0;i原创 2013-01-02 16:19:23 · 550 阅读 · 0 评论 -
hdoj1058 Humble Numbers (排序)
题目:http://acm.hdu.edu.cn/showproblem.php?pid=1058 题意: 有一系列低调数字,它们的特点是其质因数只有2,3,5,7中的任意几种,这些低调数为1,2,3,4,5,6,7,8,9,10,12,14,15,16,18,20,21,24,…按大小排序,第一个低调数为1,第二个低调数为2,…,第5842个低调数为2000000000;现任输入一个数字n (原创 2017-06-01 22:00:31 · 257 阅读 · 0 评论