• <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)  編輯 收藏 引用

            欧美亚洲色综久久精品国产 | 亚洲精品白浆高清久久久久久| 久久精品99无色码中文字幕| 亚洲欧美国产日韩综合久久| 色播久久人人爽人人爽人人片AV | 国内精品久久久久久99| 久久亚洲国产欧洲精品一| 精品人妻伦一二三区久久| 99久久免费国产精品特黄| 国产韩国精品一区二区三区久久 | 亚洲天堂久久久| 777米奇久久最新地址| 久久亚洲AV无码西西人体| 久久久久亚洲AV成人片| 亚洲精品99久久久久中文字幕 | 国产精品乱码久久久久久软件| 2020久久精品国产免费| 久久久噜噜噜久久中文字幕色伊伊 | 亚洲αv久久久噜噜噜噜噜| 国产精品美女久久久免费| 无码专区久久综合久中文字幕| 久久国产精品免费一区| 久久久久久久尹人综合网亚洲| 伊人久久无码中文字幕| 亚洲国产综合久久天堂 | 久久WWW免费人成—看片| 成人国内精品久久久久一区| 99精品久久久久久久婷婷| 久久久久久久免费视频| 久久影院午夜理论片无码 | 久久亚洲AV无码精品色午夜| 日本欧美国产精品第一页久久| 青青草原综合久久| www久久久天天com| 四虎国产永久免费久久| 69国产成人综合久久精品| 久久综合精品国产二区无码| 久久超乳爆乳中文字幕| 久久精品国产精品国产精品污| 久久精品人人槡人妻人人玩AV| 国产精品一区二区久久国产|