• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            misschuer

            常用鏈接

            統計

            積分與排名

            百事通

            最新評論

            快排模板

            //快排模板
            /*double */
            /*#include<iostream>
            #include<algorithm>
            using namespace std;
            int cmp( const void *a , const void *b )

                return *(double *)a - *(double *)b;
            }
            int main()
            {
                double a[10]={1,5,6,5,4,9,7,8,6,0};
                qsort(a,10,sizeof(a[0]),cmp);
                for(int i=0;i<10;i++)
                    cout<<a[i]<<" ";
                return 1;
            }
             
            */

            /*int
            #include<iostream>
            #include<algorithm>
            using namespace std;
            int cmp( const void *a , const void *b )

                return *(int *)a - *(int *)b;
            }
            int main()
            {
                int a[10]={1,5,6,5,4,9,7,8,6,0};
                qsort(a,10,sizeof(a[0]),cmp);
                for(int i=0;i<10;i++)
                    cout<<a[i]<<" ";
                return 1;
            }
            */

            /*char
            #include<iostream>
            #include<algorithm>
            using namespace std;
            int cmp( const void *a , const void *b )

                return *(char *)a - *(char *)b;
            }
            int main()
            {
                char a[10]={'1','5','6','5','4','9','7','8','6','0'};
                qsort(a,10,sizeof(a[0]),cmp);
                for(int i=0;i<10;i++)
                    cout<<a[i]<<" ";
                return 1;
            }
            */

            /*字符串
            #include<iostream>
            #include<algorithm>
            #include<string>
            using namespace std;
            int cmp(const void *p1,const void *p2)
            {
                return strcmp((char *)p1,(char *)p2);
            }
            int main()
            {
                char a[10][10]={"123","524","645","545","114","2129","765","878","656","021"};
                qsort(a,10,sizeof(a[0]),cmp);
                for(int i=0;i<10;i++)
                    cout<<a[i]<<endl;
                return 1;
            }
            */

            /*結構體
            #include<iostream>
            #include<algorithm>
            #include<string>
            using namespace std;
            struct node
            {
                int d1;
                int d2;
            };
            int cmp(const void *p1,const void *p2)
            {
                node *p=(node *)p1,*q=(node *)p2;
                if(p->d1!=q->d1)
                    return (p->d1-q->d1);
                return (p->d2-q->d2);
            }
            int main()
            {
                node a[10]={{1,3},{5,4},{6,5},{5,5},{1,4},{2,9},{7,5},{8,8},{6,6},{0,1}};
                qsort(a,10,sizeof(a[0]),cmp);
                for(int i=0;i<10;i++)
                    cout<<a[i].d1<<a[i].d2<<endl;
                return 1;
            }
            */

            posted on 2009-04-18 10:45 此最相思 閱讀(482) 評論(0)  編輯 收藏 引用

            国产精品久久久久久一区二区三区| 久久精品中文騷妇女内射| 久久国产免费观看精品| 久久精品一区二区三区中文字幕| 久久91这里精品国产2020| 女人高潮久久久叫人喷水| 久久免费的精品国产V∧| 久久WWW免费人成—看片| 久久人人爽人人爽人人av东京热 | 久久国产亚洲高清观看| 91久久精品电影| 性欧美丰满熟妇XXXX性久久久 | 久久久午夜精品福利内容| 亚洲va中文字幕无码久久| 久久99久久成人免费播放| 亚洲国产欧美国产综合久久| 国产精品嫩草影院久久| 精品久久8x国产免费观看| 久久精品免费全国观看国产| 国产成人久久久精品二区三区 | 香蕉久久久久久狠狠色| 91久久香蕉国产熟女线看| 午夜精品久久久久久影视riav| 色成年激情久久综合| 久久成人国产精品免费软件| 久久综合色区| 精品国产综合区久久久久久 | 麻豆精品久久精品色综合| 亚洲欧美日韩久久精品第一区| 精品国产综合区久久久久久 | 久久精品久久久久观看99水蜜桃| 中文精品久久久久国产网址| 精品久久久久久亚洲精品| 欧美午夜精品久久久久免费视 | 久久精品人妻一区二区三区| 久久婷婷国产麻豆91天堂| 99久久成人国产精品免费| 久久99精品久久久久久动态图| 久久久久久国产精品无码超碰| 一本色道久久综合亚洲精品| 狼狼综合久久久久综合网|