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:终于AC了,不容易啊!给大家提个建议,测试数据时可以把题目中的前后两行换个位置测试,我就错在这了!

Posted by wl119613784 at 2012-05-28 00:32:10 on Problem 3158
In Reply To:终于AC了,不容易啊!给大家提个建议,测试数据时可以把题目中的前后两行换个位置测试,我就错在这了! Posted by:jean890915 at 2011-10-19 20:19:52
谢谢牛人指点,按照测试数据的显示,就先入为主的以为上面的序列长,下面的短。总WA郁闷死了。原来谁长谁短不一定,还是得判断下。

并且注意:不用读取和显示
sample input #*

sample output #*

题目没说要显示这些,小心被误导了。

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