锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产欧美一区二区视频,欧美国产日韩一区,亚洲深夜av http://www.shnenglu.com/Dreams/archive/2009/04/10/79515.htmlDreamSky DreamSky Fri, 10 Apr 2009 08:03:00 GMT http://www.shnenglu.com/Dreams/archive/2009/04/10/79515.html http://www.shnenglu.com/Dreams/comments/79515.html http://www.shnenglu.com/Dreams/archive/2009/04/10/79515.html#Feedback 1 http://www.shnenglu.com/Dreams/comments/commentRss/79515.html http://www.shnenglu.com/Dreams/services/trackbacks/79515.html 闃呰鍏ㄦ枃 ]]> hdu 1075 What Are You Talking About http://www.shnenglu.com/Dreams/archive/2009/04/09/79354.htmlDreamSky DreamSky Thu, 09 Apr 2009 09:43:00 GMT http://www.shnenglu.com/Dreams/archive/2009/04/09/79354.html http://www.shnenglu.com/Dreams/comments/79354.html http://www.shnenglu.com/Dreams/archive/2009/04/09/79354.html#Feedback 2 http://www.shnenglu.com/Dreams/comments/commentRss/79354.html http://www.shnenglu.com/Dreams/services/trackbacks/79354.html 闃呰鍏ㄦ枃 ]]> hdu 1251 緇熻闅鵑 http://www.shnenglu.com/Dreams/archive/2009/04/09/79341.htmlDreamSky DreamSky Thu, 09 Apr 2009 06:17:00 GMT http://www.shnenglu.com/Dreams/archive/2009/04/09/79341.html http://www.shnenglu.com/Dreams/comments/79341.html http://www.shnenglu.com/Dreams/archive/2009/04/09/79341.html#Feedback 0 http://www.shnenglu.com/Dreams/comments/commentRss/79341.html http://www.shnenglu.com/Dreams/services/trackbacks/79341.html http://acm.hdu.edu.cn/showproblem.php?pid=1251
#include < iostream > using namespace std; struct dictree { struct dictree * child[ 26 ]; int num; } ; int main() { int i; char word[ 11 ]; struct dictree root; // = new dictree; for (i = 0 ;i < 26 ;i ++ ) root.child[i] = NULL; root.num = 0 ; while (cin.getline(word, 11 ),word[ 0 ]) // 杈撳叆鏂規(guī)硶寰坣iu { struct dictree * now = & root; char * tmp = word; while ( * tmp) { if (now -> child[ * tmp - ' a ' ] == NULL) { now -> child[ * tmp - ' a ' ] = new dictree; now = now -> child[ * tmp - ' a ' ]; for (i = 0 ;i < 26 ;i ++ ) now -> child[i] = NULL; now -> num = 1 ; } else { now = now -> child[ * tmp - ' a ' ]; now -> num ++ ; } tmp++ ; } } while (cin.getline(word, 11 ),cin && word[ 0 ]) { int mins = 100000 ; struct dictree * now = & root; char * tmp = word; while ( * tmp) { now = now -> child[ * tmp - ' a ' ]; if ( ! now) { mins = 0 ; break ; } if (now -> num < mins) mins = now -> num; tmp ++ ; } cout<< mins << endl; } return 0 ; }
]]> hdu 1800 Flying to the Mars http://www.shnenglu.com/Dreams/archive/2009/04/09/79340.htmlDreamSky DreamSky Thu, 09 Apr 2009 06:15:00 GMT http://www.shnenglu.com/Dreams/archive/2009/04/09/79340.html http://www.shnenglu.com/Dreams/comments/79340.html http://www.shnenglu.com/Dreams/archive/2009/04/09/79340.html#Feedback 0 http://www.shnenglu.com/Dreams/comments/commentRss/79340.html http://www.shnenglu.com/Dreams/services/trackbacks/79340.html http://acm.hdu.edu.cn/showproblem.php?pid=1800
/**/ /* 5 1001 0010 0110 2 4*/ #include< iostream > using namespace std; int i; struct dictree { struct dictree * child[ 10 ]; int num; dictree() { for (i = 0 ;i < 10 ;i ++ ) child[i] = NULL; num = 0 ; } ~ dictree() { for (i = 0 ;i < 10 ;i ++ ) if (child[i]) delete child[i]; } }; int main() { int n; while (cin >> n) { int maxs = 0 ; char digit[ 31 ]; struct dictree root; while (n -- ) { cin >> digit; char * tmp = digit; while ( * tmp == ' 0 ' ) // 鍘繪帀鍓嶇紑0 tmp ++ ; struct dictree * now = & root; while ( * tmp >= ' 0 ' && * tmp <= ' 9 ' ) // 娉ㄦ剰涓嶈兘鍐欐垚*tmp { if (now -> child[ * tmp - ' 0 ' ] == NULL) now -> child[ * tmp - ' 0 ' ] = new dictree; now = now -> child[ * tmp - ' 0 ' ]; // now->num++; // 涓嶈兘鍐嶅姞 tmp ++ ; } now-> num ++ ; if ( maxs < now -> num) maxs = now -> num; } cout<< maxs << endl; } return 0 ; }
]]>
精品久久久久一区二区三区
|
激情伊人五月天久久综合 |
国内精品久久久久久久久电影网 |
亚洲精品99久久久久中文字幕 |
亚洲中文久久精品无码ww16 |
国产精品久久久久久影院 |
久久综合五月丁香久久激情 |
无遮挡粉嫩小泬久久久久久久 |
久久婷婷五月综合97色直播 |
久久精品亚洲精品国产色婷 |
久久精品国产福利国产琪琪 |
久久久久人妻一区精品性色av |
久久人人爽人人澡人人高潮AV |
亚洲精品美女久久久久99 |
久久国产成人精品国产成人亚洲 |
无码国内精品久久人妻蜜桃 |
久久久久久极精品久久久 |
久久精品国产亚洲av水果派 |
国产69精品久久久久APP下载 |
狠狠色婷婷综合天天久久丁香 |
大香伊人久久精品一区二区 |
久久高潮一级毛片免费 |
jizzjizz国产精品久久 |
综合久久国产九一剧情麻豆 |
久久丫忘忧草产品 |
亚洲欧美成人久久综合中文网 |
亚洲天堂久久精品 |
91精品国产高清久久久久久国产嫩草
|
久久天天躁狠狠躁夜夜av浪潮 |
日本精品久久久中文字幕 |
久久精品麻豆日日躁夜夜躁 |
狠狠88综合久久久久综合网
|
亚洲欧美另类日本久久国产真实乱对白
|
欧美亚洲色综久久精品国产 |
久久人人爽人人爽人人av东京热 |
一本久久a久久精品综合香蕉 |
久久久这里有精品中文字幕 |
人妻无码久久精品 |
久久久高清免费视频 |
久久人人爽人人爽人人片av麻烦
|
国产精品永久久久久久久久久 |