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:我是这么处理那个恶心的输入的……In Reply To:我是这么处理那个恶心的输入的…… Posted by:393570442 at 2011-09-27 18:00:59 > char ch1[2],ch2[2]; > scanf("%1s%d%d%1s",ch1,&x[i],&y[i],ch2); > 这样写,挺简单的,就一行^ _ ^ 厉害!!!!!!!!!!!!!!! 我scanf("%c%d%c%d%c")都挂了 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator