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

偶的解法:)

Posted by devilphoenix at 2006-05-23 18:00:20 on Problem 1013
先把light,heavy设为全集,每次得到light'和heavy'进行以下操作
light=light交light',light=light-heavy
heavy=heavy交heavy,heavy=heavy-light
最后在light和heavy里面找只剩下一个元素的那个集合,然后把这个元素打印出来就ok

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