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

注意!!!!!

Posted by gengyit at 2007-05-16 00:09:17 on Problem 1598
测试数据最后一行没有换行符!!  直接eof!!
所以大家取句子的时候一定要加EOF!!!如下  
我RE了二十几次才找到这个问题!!  应该是数据错误瑕疵!		
while(ch!='\n'&&ch!=EOF)
			{
				excusetable[i][idx]=ch;
				if(ch>='A'&&ch<='Z')
					ch=ch+32;
				else
					if(ch>'z'||ch<'a')
						ch=' ';
				dealtable[i][idx++]=ch;
				ch=getchar();
			}

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