Accepted
foo.cc: In function 'int main()': foo.cc:11:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 11 | for(int i=0;i<a.length();i++) | ~^~~~~~~~~~~ foo.cc:15:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 15 | for(int i=0;i<b.length();i++) | ~^~~~~~~~~~~
正在同步测试数据,请稍后
信息
- 递交者
- 类型
- 递交
- 题目
- P1027 A8-2 字符串的统计函数
- 语言
- C++
- 递交时间
- 2024-03-21 13:49:48
- 评测时间
- 2024-03-21 13:49:48
- 评测机
- 分数
- 100
- 总耗时
- 15ms
- 峰值内存
- 764.0 KiB