Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

把你的 输入改了一下,是wa~..偶用trie做的~

Posted by tend at 2005-08-31 15:30:11 on Problem 2503
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator