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:为什么这个输入的答案是这样呢?谁告诉我?

Posted by yuchun at 2013-09-18 16:28:55 on Problem 1390
In Reply To:为什么这个输入的答案是这样呢?谁告诉我? Posted by:xiaodedezhuzhu at 2009-05-19 21:24:03
> 为什么这个输入:
> 1
> 21
> 1 1 1 2 1 1 1 3 1 1 1 1 1 3 3 3 3 3 3 3 3答案是139不是143呢?
> 143是这样得出来的:先消除倒数第二组得到25,倒数第一跟第三组合并后消除得到81,第二组消除得到1,第一第三组合并消除得到36,25+81+1+36=143,为什么不对呢?而是139?

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