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 |
关于while(scanf("%s%s",s1,s2)!=EOF)&&while(gets(s))的问题开始用的前者,结果tle 后来改成后面的情况,就ac了31ms 舍友说可能是scanf读取的问题 我也不清楚 不过前者的确需要两个EOF才可以结束输入 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator