Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

There has to be exactly one column of blanks between two digits.最后一个数字后面有空格吗?

Posted by cpp050500448013 at 2005-03-16 00:43:30 on Problem 1102
按题意是没有的,示例也没有,于是每行最后我加了printf("\b\n");把最后一个数字后的空格删掉
然后就WA
而不要\b就AC了
有\b的时候不会删掉"|"的,因为在本机测试时最后的"|"都还在,也就是\b删的肯定是空格
所以唯一的解释就是——最后一个数字后面有空格!!
为什么在output example中看不出呢??晕~~

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator