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

Re:调试了n遍,重写了n次,提交了n次,最终它终于熬不过我,让我

Posted by cpp0600548065 at 2006-04-01 01:07:48 on Problem 1706
In Reply To:调试了n遍,重写了n次,提交了n次,最终它终于熬不过我,让我 Posted by:cpp0600548065 at 2006-04-01 00:47:10
Re:调试了n遍,重写了n次,提交了n次,最终它终于熬不过我,让我ac了,
想知道我是怎样过的吗,
我将自己的代码和通过的代码比较,互相改动一点,靠拢一点,提交后发现
我的仍wa,通过的仍ac,郁闷一阵,再互相改动一点,再提交,依次进行,逐步缩小
异点进行搜查,最后发现二者只有一句不同,那一句隐藏的太深了,
虽然这种办法比较苯,但通过的感觉还是很爽的,
补充两点:
1,regular段开头可以为空格
2,注意最后遇到结束符时从while中跳出后是否有问题

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