• <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>

            ACM___________________________

            ______________白白の屋
            posts - 182, comments - 102, trackbacks - 0, articles - 0
            <2010年9月>
            2930311234
            567891011
            12131415161718
            19202122232425
            262728293012
            3456789

            常用鏈接

            留言簿(24)

            隨筆分類(332)

            隨筆檔案(182)

            FRIENDS

            搜索

            積分與排名

            最新隨筆

            最新評(píng)論

            閱讀排行榜

            評(píng)論排行榜

            HDU 2573 HDOJ 2573 Typing ACM 2573 IN HDU

            Posted on 2010-11-16 17:30 MiYu 閱讀(564) 評(píng)論(0)  編輯 收藏 引用 所屬分類: ACM ( 水題 )

            MiYu原創(chuàng), 轉(zhuǎn)帖請(qǐng)注明 : 轉(zhuǎn)載自 ______________白白の屋    

             

            純模擬, 沒(méi)什么好說(shuō)的, 直接代碼 

            代碼
            /*
            Mail to   : miyubai@gamil.com
            My Blog   : www.baiyun.me
            Link      : 
            http://www.cnblogs.com/MiYu  || http://www.shnenglu.com/MiYu
            Author By : MiYu
            Test      : 1
            Complier  : g++ mingw32-3.4.2
            Program   : HDU_2573 
            Doc Name  : Typing
            */
            //#pragma warning( disable:4789 )
            #include <iostream>
            #include 
            <fstream>
            #include 
            <sstream>
            #include 
            <algorithm>
            #include 
            <string>
            #include 
            <set>
            #include 
            <map>
            #include 
            <utility>
            #include 
            <queue>
            #include 
            <stack>
            #include 
            <list>
            #include 
            <vector>
            #include 
            <cstdio>
            #include 
            <cstdlib>
            #include 
            <cstring>
            #include 
            <cmath>
            #include 
            <ctime>
            using namespace std;
            bool isup = false
            int main ()
            {
                
            int T;
                cin 
            >> T;
                
            while ( T -- ) {
                      
            int N;
                      
            string str, word; 
                      cin 
            >> N;
                      
            while ( N -- ) {
                           cin 
            >> str;
                           
            if ( str.size() == 1 ) {
                               word 
            += char( isup ? toupper(str[0]) : tolower (str[0]) );     
                           } 
            else if ( str == "Caps" ) isup = !isup;
                           
            else {
                                cin 
            >> str;
                                word 
            += char!isup ? toupper(str[0]) : tolower (str[0]) );          
                           }    
                      }   
                      cout 
            << word << endl;
                      isup 
            = false;   
                }
                
            return 0;
            }

             

            久久影院亚洲一区| 亚洲一区精品伊人久久伊人| 久久久久久久97| 久久AV高清无码| 久久久国产一区二区三区| 久久综合偷偷噜噜噜色| 国内精品久久国产| 久久香蕉国产线看观看乱码| 久久亚洲精品无码播放| jizzjizz国产精品久久| 理论片午午伦夜理片久久 | 久久天天躁夜夜躁狠狠躁2022 | 久久精品视频91| 亚洲国产精品无码久久SM| 很黄很污的网站久久mimi色| 久久无码高潮喷水| 久久青青草原亚洲av无码| 99久久精品午夜一区二区| 少妇被又大又粗又爽毛片久久黑人| 亚洲av伊人久久综合密臀性色 | 久久久久人妻一区精品性色av| 国产精品狼人久久久久影院| 欧美丰满熟妇BBB久久久| 久久99热这里只频精品6| 久久99精品久久久久久9蜜桃| 国内精品久久久久影院优| 久久精品国产99国产精品亚洲| 久久久久女教师免费一区| AV狠狠色丁香婷婷综合久久| 久久精品国产亚洲AV影院| 久久综合亚洲色HEZYO国产| 精品免费久久久久国产一区| 国产精品久久精品| 精品九九久久国内精品| 久久丫精品国产亚洲av不卡| 一本久久a久久精品vr综合| 久久精品一本到99热免费| 蜜桃麻豆WWW久久囤产精品| 久久久久免费精品国产| 99久久精品国产一区二区 | 久久久亚洲欧洲日产国码aⅴ|