记录详情

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)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Aborted 4ms 412.0 KiB

信息

递交者
类型
自测
题目
6-10 哪个字母对用得最多
语言
C++
递交时间
2023-08-16 12:50:12
评测时间
2023-08-16 12:50:12
评测机
分数
0
总耗时
4ms
峰值内存
412.0 KiB