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:Something is wrong whis this code

Posted by Zenomyth at 2015-02-13 18:09:03 on Problem 2605
In Reply To:Re:Something is wrong whis this code Posted by:Zenomyth at 2015-02-13 17:50:57
> I completely agree with you. This code is wrong with n=2. The n=2 situation can't be simplified to n=1 in that way.

Please note the following principle:
xxxxxx
xxxxxx

->

x
 xxxxx
 xxxxx

->

xx
  xxxx
  xxxx

->

  x
  xxxx
  xxxx

->

  x   
  xxxx
 x  xx

->

   xxx
 xx xx

->

   xxx
   xxx

The (2,m) can always be simplified to (2, m - 3)

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