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 |
scanf("%*s")能读空格?In Reply To:这题数据格式有错吧...... Posted by:smwwh at 2010-10-16 21:01:47 > 按题意是两个字母间只有一个空格, > 但scanf("%*c%c", &c)读数据WA //char c; > 用scanf("%s", c);取c[0]就AC....//char c[10]; Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator