第一次遇到这种情况,也没有报错,但是运行啥也没有,然后那个mp.size函数哪里还有警告comparison of integer expressions of different signedness: 'std::map<char, int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]|,nl nr定义的变量也有个警告variable 'nl' set but not used [-Wunused-but-set-variable

程序没有报错,但是运行就直接结束了
第一次遇到这种情况,也没有报错,但是运行啥也没有,然后那个mp.size函数哪里还有警告comparison of integer expressions of different signedness: 'std::map<char, int>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]|,nl nr定义的变量也有个警告variable 'nl' set but not used [-Wunused-but-set-variable
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-