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

Re:其实用C++ map 很容易

Posted by gonggaosheng at 2009-08-11 11:22:44 on Problem 1002
In Reply To:其实用C++ map 很容易 Posted by:leonardWang at 2009-08-10 17:21:05
> MyMap[number]++;
> number是int 输出时遍历默认就是字典序的 计数直接++(不存在时,会自动增到1)
map会不会太耗时?

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