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 suisui at 2008-09-08 22:05:28 on Problem 1094
每次得到一个关系式后,做一次推理。
A<B
那么更新已知所有比A的digit都比B小,更新所有比B大的digit都比A大。
同时检查有无冲突,并且更新推理出的关系个数。

判断推理出的关系即可

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