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 MasterRay at 2010-04-20 12:11:29 on Problem 2773
Input

10000 10000
10000 10001
10000 10002
9354 1234
41284 21412
213 2312
464 1321
4924 12321


Output

24999
25001
25003
3703
42827
3517
2735
24661

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