Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:其实用C++ map 很容易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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator