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:为什么这2个代码都是对的?

Posted by ths at 2007-06-07 12:42:24 on Problem 3224
In Reply To:为什么这2个代码都是对的? Posted by:20054953 at 2007-04-30 14:09:35
其实你的两个程序都是正确的.出现你现在问题的原因
1.你的测试数据有问题.
2.本来比赛规则是跟有没有3是没有关系的.只要赢的局数比你的多就可以了.这是你的第一个程序.
  但偏偏这题出题的人比较无聊,弄个对称的数据总有个3,所以你的第2个程序对了.

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