锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲欧美成人综合久久久,国产一区二区久久久,久久久艹http://m.shnenglu.com/issayandfaye/archive/2009/11/20/100677.html#101470tinytinyFri, 20 Nov 2009 07:13:00 GMThttp://m.shnenglu.com/issayandfaye/archive/2009/11/20/100677.html#101470

tiny 2009-11-20 15:13 鍙戣〃璇勮
]]>
re: 铻烘棆鐭╅樀鐨勭畻娉?/title><link>http://m.shnenglu.com/issayandfaye/archive/2009/11/19/100976.html#101375</link><dc:creator>iSsay</dc:creator><author>iSsay</author><pubDate>Thu, 19 Nov 2009 05:44:00 GMT</pubDate><guid>http://m.shnenglu.com/issayandfaye/archive/2009/11/19/100976.html#101375</guid><description><![CDATA[@xuxiandi <br>鎴戝湪鎯沖鏋滄病鏈夋暟瀛﹀叕寮忚鎬庝箞妯℃嫙鍛?<br> <br>鐜板湪榪樻兂涓嶅嚭鏉ワ紝鍥犱負寰幆鎺у埗涓嶅ソ寮勶紝瑕佺敤鍒板緢澶氬彉閲忔爣璁?img src ="http://m.shnenglu.com/issayandfaye/aggbug/101375.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/issayandfaye/" target="_blank">iSsay</a> 2009-11-19 13:44 <a href="http://m.shnenglu.com/issayandfaye/archive/2009/11/19/100976.html#101375#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>re: 铻烘棆鐭╅樀鐨勭畻娉?/title><link>http://m.shnenglu.com/issayandfaye/archive/2009/11/18/100976.html#101335</link><dc:creator>xuxiandi</dc:creator><author>xuxiandi</author><pubDate>Wed, 18 Nov 2009 09:02:00 GMT</pubDate><guid>http://m.shnenglu.com/issayandfaye/archive/2009/11/18/100976.html#101335</guid><description><![CDATA[浠庝腑闂村悜澶栬漿....涓嶅氨鏄粠澶栧悜涓棿杞?.鐒跺悗閫掑噺鍚?<img src ="http://m.shnenglu.com/issayandfaye/aggbug/101335.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/issayandfaye/" target="_blank">xuxiandi</a> 2009-11-18 17:02 <a href="http://m.shnenglu.com/issayandfaye/archive/2009/11/18/100976.html#101335#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>re: 铻烘棆鐭╅樀鐨勭畻娉?/title><link>http://m.shnenglu.com/issayandfaye/archive/2009/11/17/100976.html#101214</link><dc:creator>qinqing1984</dc:creator><author>qinqing1984</author><pubDate>Tue, 17 Nov 2009 08:39:00 GMT</pubDate><guid>http://m.shnenglu.com/issayandfaye/archive/2009/11/17/100976.html#101214</guid><description><![CDATA[榪欎釜妯″瀷姣旇緝綆鍗?浠庝腑闂村悜澶栬漿,灝辨湁鐐瑰鏉備簡<img src ="http://m.shnenglu.com/issayandfaye/aggbug/101214.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/issayandfaye/" target="_blank">qinqing1984</a> 2009-11-17 16:39 <a href="http://m.shnenglu.com/issayandfaye/archive/2009/11/17/100976.html#101214#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>re: POJ1002閾捐〃綆楁硶[鏈櫥褰昡http://m.shnenglu.com/issayandfaye/archive/2009/11/16/100347.html#101156dskitdskitMon, 16 Nov 2009 14:44:00 GMThttp://m.shnenglu.com/issayandfaye/archive/2009/11/16/100347.html#101156using std::cin;
using std::cout;
using std::endl;

#ifdef DEBUG
#include<string>
using std::string;
using std::freopen;
string input_file_name = __FILE__;
#endif

//here add other file need to included, and declare namespace need to use.
#include<stdlib.h>
#include<string.h>
#include<stdio.h>
using namespace std;
//here declare global variables;
char dictionary[26] = {2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 0, 7, 7, 8, 8, 8, 9, 9, 9, 0};
char no[50];
char oarray[10];
bool flag;

struct Trie_node
{
int count;
Trie_node* next[10];
};

Trie_node root;

Trie_node node_pool[200002];
int index;
Trie_node* p;

void insert(char* s)
{
p = &root;
while(*s != '\0')
{
if(p->next[*s - '0'] == NULL)
p->next[*s - '0'] = &node_pool[index++];
p = p->next[*s - '0'];
++s;
}

++p->count;
}

void inline travel(Trie_node* node, int c)
{
for(int i = 0; i < 10; ++i)
{

if(node->next[i] == NULL)
continue;

oarray[c] = (char)(i + '0');

if(c >= 6)
{
if(node->next[i]->count > 1)
{
flag = true;
printf("%c%c%c-%c%c%c%c %d\n", oarray[0], oarray[1],
oarray[2], oarray[3],
oarray[4], oarray[5],
oarray[6], node->next[i]->count);
}
}
else
{
travel(node->next[i], c + 1);
}
}

}


//here add funtions.
void inline format_number(char* no)
{
//int len = strlen(no);
//printf("%s\n", no);
int count = 0;
int sum = 0;
for(int i = 0; no[i] != '\0'; ++i)
{
++sum;
if(no[i] >= 'A' && no[i] <= 'Z')
{
no[i] = '0' + dictionary[no[i] - 'A'];
}
else if(no[i] == '-')
{
++count;
}

if(no[i] != '-')
no[i - count] = no[i];

}
no[sum - count] = '\0';
//printf("%s\n", no);
}

int main(int argc, char* argv[])
{
#ifdef DEBUG
if(!freopen((input_file_name.substr(0, input_file_name.size() - 4) + ".in").c_str(), "r", stdin))
{ cout << "input data error, not found input file." << endl; return -1; }
#endif

//here add code for solve problem.
int n = 0;
//input
scanf("%d", &n);
flag = false;
index = 0;
getchar();
for(int i = 0; i < n; ++i)
{
gets(no);
//puts(no);
format_number(no);
insert(no);
}

travel(&root, 0);

if(!flag)
{
printf("No duplicates.\n");
}

return 0;
}


dskit 2009-11-16 22:44 鍙戣〃璇勮
]]>
免费精品久久久久久中文字幕| 狠狠色丁香久久婷婷综合图片| 久久亚洲欧美国产精品| a级成人毛片久久| 国产99久久久国产精品~~牛| 亚洲国产成人乱码精品女人久久久不卡| 久久91精品国产91| 婷婷久久综合九色综合98| 国产精品九九久久免费视频| 久久人人爽人人爽人人片AV高清| 精品国产乱码久久久久久1区2区 | 韩国三级大全久久网站| 伊人久久精品影院| 国产精品成人精品久久久| 亚洲精品乱码久久久久久自慰| 久久国产视频网| www久久久天天com| 7777久久久国产精品消防器材| 久久久国产精品| 亚洲伊人久久大香线蕉苏妲己| 久久久久亚洲AV无码麻豆| 亚洲国产精品综合久久网络 | 欧美精品福利视频一区二区三区久久久精品 | 亚洲国产精品无码久久一区二区| 久久99热这里只有精品国产| 精品乱码久久久久久久| 一本久久a久久精品vr综合| 久久久久亚洲AV无码专区桃色 | 久久久久亚洲AV无码观看| 久久久久久噜噜精品免费直播 | 欧美色综合久久久久久| 久久精品国产只有精品2020| 国产精品对白刺激久久久| 久久精品天天中文字幕人妻| 久久超碰97人人做人人爱| 久久精品国产99久久久| 成人妇女免费播放久久久| 国产精品99久久免费观看| 久久久国产精品福利免费| 亚洲欧美精品伊人久久| 久久影院亚洲一区|