• <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>
            心如止水
            Je n'ai pas le temps
            posts - 400,comments - 130,trackbacks - 0
            本來想做DP專題,隊(duì)長讓我去補(bǔ)基礎(chǔ)知識(shí),我就來做POJ分類了……
            排序。
            以下是我的代碼:
            /*
             * Author:  lee1r
             * Created Time:  2011/8/4 20:20:15
             * File Name: poj2388.cpp
             
            */
            #include
            <iostream>
            #include
            <sstream>
            #include
            <fstream>
            #include
            <vector>
            #include
            <list>
            #include
            <deque>
            #include
            <queue>
            #include
            <stack>
            #include
            <map>
            #include
            <set>
            #include
            <bitset>
            #include
            <algorithm>
            #include
            <cstdio>
            #include
            <cstdlib>
            #include
            <cstring>
            #include
            <cctype>
            #include
            <cmath>
            #include
            <ctime>
            #define L(x) ((x)<<1)
            #define R(x) (((x)<<1)+1)
            #define Half(x) ((x)>>1)
            #define lowbit(x) ((x)&(-(x)))
            using namespace std;
            const int kInf(0x7f7f7f7f);
            const double kEps(1e-11);
            typedef 
            long long int64;
            typedef unsigned 
            long long uint64;

            int n,r[10007];

            int main()
            {
                
            //freopen("data.in","r",stdin);
                
                
            while(scanf("%d",&n)==1)
                {
                    
            for(int i=1;i<=n;i++)
                        scanf(
            "%d",&r[i]);
                    sort(r
            +1,r+n+1);
                    printf(
            "%d\n",r[Half(n+1)]);
                }
                
                
            return 0;
            }
            posted on 2011-08-04 20:36 lee1r 閱讀(447) 評論(0)  編輯 收藏 引用 所屬分類: 題目分類:排序
            久久精品这里热有精品| 久久久久亚洲精品无码网址 | 精品久久无码中文字幕| 亚洲国产成人精品无码久久久久久综合 | 一本久久久久久久| 亚洲人成电影网站久久| 欧美久久一级内射wwwwww.| 精品久久久久久国产三级| 久久香蕉一级毛片| 97久久精品人人做人人爽| 久久99毛片免费观看不卡| 狠狠色噜噜狠狠狠狠狠色综合久久 | 国产ww久久久久久久久久| 久久久久综合网久久| 99久久无码一区人妻| 久久996热精品xxxx| 亚洲精品高清久久| 久久国产视屏| 思思久久99热只有频精品66| 漂亮人妻被中出中文字幕久久| 亚洲香蕉网久久综合影视| 欧美黑人激情性久久| 久久亚洲高清观看| 久久亚洲国产精品123区| 亚洲国产成人精品女人久久久 | 亚洲级αV无码毛片久久精品 | 久久久国产精品网站| 久久久WWW免费人成精品| 久久婷婷五月综合国产尤物app| 亚洲欧美成人综合久久久| 久久综合九色综合精品| 欧美精品福利视频一区二区三区久久久精品 | 国产激情久久久久影院小草| 久久久综合香蕉尹人综合网| 国内精品伊人久久久久777| 精品久久777| 亚洲欧美另类日本久久国产真实乱对白| 久久综合伊人77777| 国内精品久久久久影院免费| 色老头网站久久网| 国产成人香蕉久久久久|