如果直接使用map 容器 ,在key 为字符串 最后一个会超时。 使用楼上的思想,将key 改为数字 可以A了。 map<int,vector<int> >;
点赞 1

相关推荐

点赞 评论 收藏
分享
牛客网
牛客企业服务