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 |
注意!!!!!测试数据最后一行没有换行符!! 直接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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator