Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
把你的 输入改了一下,是wa~..偶用trie做的~In Reply To:TLE 哪位好心人帮忙看一下瓶颈在那里,该怎么改进? Posted by:ykt at 2005-08-30 23:59:37 char english[MAX_WORD_LENGTH],dialect[MAX_WORD_LENGTH],line[MAX_WORD_LENGTH*2+1],c; int index; while(1){gets(english); c=getchar(); if(c!=' ') break; gets(dialect); insertTable(dialect,english); } main里面的输入部分偶改了下.. Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator