标签:ring 说明 img ORC 容器 重复 png 整型 mamicode
AC代码:
用map容器做很简单
貌似用map容器的话,没有说明之前每个string对应的int都是0;再有就是这题里判断map里的元素是否重复,如果有重复的话那m[ch]对应的整型值就!=0(不等于0),还没有重复的话对应的整型值就等于0了。
Codeforces水题(C. Registration system map容器的简单应用)
标签:ring 说明 img ORC 容器 重复 png 整型 mamicode
原文地址:https://www.cnblogs.com/programming123/p/10807636.html