记录详情

Wrong Answer

/in/foo.cc: In function 'void Concat(char*, int*)':
/in/foo.cc:7:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for (i = 0; s[i] != 0; i++);
  ^~~
/in/foo.cc:8:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  {
  ^
/in/foo.cc:12:13: warning: array subscript has type 'char' [-Wchar-subscripts]
       a[s[i]]++;
             ^
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 484.0 KiB

信息

递交者
类型
自测
题目
6-9 哪个字母用得最多
语言
C++
递交时间
2023-12-05 16:22:49
评测时间
2023-12-05 16:22:49
评测机
分数
0
总耗时
2ms
峰值内存
484.0 KiB