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 sheeper at 2013-01-27 20:53:29 on Problem 2259
开一个队列 ,以team的序号为队列的元素
queue <int > team;

另开一个队列数组,以element为队列的元素
queue <int > m[1001];

至于每个element在那个team中,打表//开个100W的数组储存。

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