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 |
Re:TLE 哪位好心人帮忙看一下瓶颈在那里,该怎么改进?In Reply To:Re:TLE 哪位好心人帮忙看一下瓶颈在那里,该怎么改进? Posted by:xemo at 2005-08-31 08:24:33 跳出while(1)是以下几句: english[0]=(char)getchar(); if(english[0]=='\n')break; 即当一行以'\n'为第一个字符时(空行),终止循环。 > 看不出能跳出while(1)循环的条件。 > 你用hash都tle的话,我真不知道我当初用map怎么过的。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator