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:贴我的思路和代码,WA但是找不到错。。

Posted by lingtingfu at 2007-02-12 00:35:56 on Problem 1013
In Reply To:贴我的思路和代码,WA但是找不到错。。 Posted by:bnusaga at 2006-06-26 23:48:06
1.思路应该是有点问题的.
你的说法:对up的项中的字母,若权不是10,且字母在左边的话,权减1;字母在右边的话,权加1。
事实上,你仔细看题后就会发现:对up的项中的字母,若权不是10,且字母在左边的话,权加加加加1;字母在右边的话,权减减减减1。

2.
1
A B down
B F up
G H even
A is the counterfeit coin and it is light.
这是你的程序所得到的结果,显而易见结果应该是:
1
A B down
B F up
G H even
B is the counterfeit coin and it is light.

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