| ||||||||||
| 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 | |||||||||
There has to be exactly one column of blanks between two digits.最后一个数字后面有空格吗?按题意是没有的,示例也没有,于是每行最后我加了printf("\b\n");把最后一个数字后的空格删掉
然后就WA
而不要\b就AC了
有\b的时候不会删掉"|"的,因为在本机测试时最后的"|"都还在,也就是\b删的肯定是空格
所以唯一的解释就是——最后一个数字后面有空格!!
为什么在output example中看不出呢??晕~~
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator