记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:19:34: warning: array subscript has type 'char' [-Wchar-subscripts]
   19 |                         a[i][s[j]]++;
      |                                  ^
foo.cc:12:15: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
   12 |         int n,ans;
      |               ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1, expect 0. 4ms 412.0 KiB
#2 Runtime Error Segmentation fault 4ms 412.0 KiB
#3 Wrong Answer Read 1, expect 0. 4ms 408.0 KiB
#4 Runtime Error Segmentation fault 4ms 472.0 KiB
#5 Wrong Answer Read 1, expect 0. 2ms 412.0 KiB
#6 Wrong Answer Read 1, expect 0. 3ms 412.0 KiB
#7 Wrong Answer Read 1, expect 0. 3ms 412.0 KiB
#8 Accepted 3ms 412.0 KiB
#9 Wrong Answer Read 1, expect 0. 4ms 412.0 KiB
#10 Wrong Answer Read 1, expect 0. 3ms 412.0 KiB
#11 Runtime Error Segmentation fault 4ms 424.0 KiB
#12 Runtime Error Segmentation fault 2ms 440.0 KiB
#13 Runtime Error Segmentation fault 4ms 412.0 KiB
#14 Runtime Error Segmentation fault 2ms 412.0 KiB
#15 Runtime Error Segmentation fault 4ms 412.0 KiB

信息

递交者
类型
递交
比赛
悬赏令第六周
语言
C++
递交时间
2023-05-30 15:04:18
评测时间
2023-06-02 18:46:38
评测机
分数
6
总耗时
58ms
峰值内存
472.0 KiB