锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久精品国产色蜜蜜麻豆,99久久99久久精品国产片果冻 ,久久人人爽人人爽人人AV东京热 http://www.shnenglu.com/issayandfaye/archive/2009/11/20/100677.html#101470tinytinyFri, 20 Nov 2009 07:13:00 GMThttp://www.shnenglu.com/issayandfaye/archive/2009/11/20/100677.html#101470

tiny 2009-11-20 15:13 鍙戣〃璇勮
]]>
re: 铻烘棆鐭╅樀鐨勭畻娉?/title><link>http://www.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://www.shnenglu.com/issayandfaye/archive/2009/11/19/100976.html#101375</guid><description><![CDATA[@xuxiandi <br>鎴戝湪鎯沖鏋滄病鏈夋暟瀛﹀叕寮忚鎬庝箞妯℃嫙鍛?<br> <br>鐜板湪榪樻兂涓嶅嚭鏉ワ紝鍥犱負寰幆鎺у埗涓嶅ソ寮勶紝瑕佺敤鍒板緢澶氬彉閲忔爣璁?img src ="http://www.shnenglu.com/issayandfaye/aggbug/101375.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/issayandfaye/" target="_blank">iSsay</a> 2009-11-19 13:44 <a href="http://www.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://www.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://www.shnenglu.com/issayandfaye/archive/2009/11/18/100976.html#101335</guid><description><![CDATA[浠庝腑闂村悜澶栬漿....涓嶅氨鏄粠澶栧悜涓棿杞?.鐒跺悗閫掑噺鍚?<img src ="http://www.shnenglu.com/issayandfaye/aggbug/101335.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/issayandfaye/" target="_blank">xuxiandi</a> 2009-11-18 17:02 <a href="http://www.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://www.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://www.shnenglu.com/issayandfaye/archive/2009/11/17/100976.html#101214</guid><description><![CDATA[榪欎釜妯″瀷姣旇緝綆鍗?浠庝腑闂村悜澶栬漿,灝辨湁鐐瑰鏉備簡<img src ="http://www.shnenglu.com/issayandfaye/aggbug/101214.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/issayandfaye/" target="_blank">qinqing1984</a> 2009-11-17 16:39 <a href="http://www.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://www.shnenglu.com/issayandfaye/archive/2009/11/16/100347.html#101156dskitdskitMon, 16 Nov 2009 14:44:00 GMThttp://www.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 鍙戣〃璇勮
]]>
日产精品久久久久久久| 久久成人精品| 国产精品久久午夜夜伦鲁鲁| 久久水蜜桃亚洲av无码精品麻豆| 国内精品九九久久久精品| 久久国产精品-国产精品| 久久综合视频网站| 婷婷五月深深久久精品| 久久综合中文字幕| 亚洲午夜久久久久久噜噜噜| 国产欧美一区二区久久| 久久精品国产亚洲Aⅴ香蕉 | 国产成人久久久精品二区三区| 国产精品久久久久久久久久免费| 亚洲AV日韩精品久久久久 | 久久久久18| 午夜精品久久久久久久| 久久亚洲精品国产亚洲老地址 | 人妻少妇久久中文字幕| 久久精品国产只有精品66| 色诱久久久久综合网ywww| 色婷婷久久综合中文久久一本| 91久久精一区二区三区大全| 久久婷婷人人澡人人爽人人爱| 国产精品成人99久久久久| 久久99精品久久久久久久久久| 亚洲国产精品无码久久青草 | 亚洲精品第一综合99久久| 色综合久久最新中文字幕| 亚洲va中文字幕无码久久不卡| 色婷婷噜噜久久国产精品12p| 99久久www免费人成精品 | 亚洲乱码中文字幕久久孕妇黑人 | 亚洲午夜精品久久久久久app| 亚洲午夜久久久精品影院 | 久久精品国产精品青草app| 亚洲狠狠婷婷综合久久久久| 国内精品伊人久久久久妇| 三级片免费观看久久| 一日本道伊人久久综合影| 欧洲国产伦久久久久久久|