Runtime Error
foo.cc: In function 'int main()': foo.cc:12:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 12 | for(int i = 0; i < arr.length(); i++) | ~~^~~~~~~~~~~~~~ foo.cc:24:13: warning: 'ch' may be used uninitialized [-Wmaybe-uninitialized] 24 | cout << ch << endl; | ^~ foo.cc:9:10: note: 'ch' was declared here 9 | char ch; | ^~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- 6-10 哪个字母对用得最多
- 语言
- C++
- 递交时间
- 2023-08-16 12:50:12
- 评测时间
- 2023-08-16 12:50:12
- 评测机
- 分数
- 0
- 总耗时
- 4ms
- 峰值内存
- 412.0 KiB