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

c++ 使用map 并且WA的 进来看看,终于知道问题在哪了

Posted by Monsters at 2016-08-25 10:44:52 on Problem 1007
先测试一下数据
4 6                                                                                              
dcba                                                                                             
cbad                                                                                             
bacd                                                                                             
abcd                                                                                             
abbc                                                                                             
abcc 
看看你输出的是不是6个答案!!!
因为map的key是不能重复的,所以要用multimap!!!!

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