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:用map做的应该还满容易理解的In Reply To:用map做的应该还满容易理解的 Posted by:foreverlin at 2008-11-13 08:54:11 你这个是不对的,你没考虑逆序数重复的情况呃:比如这组数据: 4 6 dcba cbad bacd abcd abbc abcc 应该这样输出: abcd abbc abcc bacd cbad dcba 但你的是这样输出的: abcc abcc abcc bacd cbad dcba 个人认为要用multimap。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator