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

实在看不出好算法,直接分类讨论ac了。

Posted by fanhqme at 2009-05-09 18:02:45 on Problem 2332
分4种情况分类讨论,代码直逼150行。
Orz

+-----+
|     |
|     |
+-----+

+--+ 
|  | +----+
+--+ |    |
     |    |
     |    |
     +----+ 


+----+
|    |
+----+
   +--------+
   |        |
   |        |
   +--------+


    +--+
    |  |
+---+--+----+
|   |  |    |
+---+--+----+
    |  |
    |  |
    +--+

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