记录详情

Runtime Error

/in/foo.cc: In function 'void insert(const char*)':
/in/foo.cc:21:32: warning: array subscript has type 'char' [-Wchar-subscripts]
         if (ch[p][cvt_ci[str[i]]] == 0)
                                ^
/in/foo.cc:22:32: warning: array subscript has type 'char' [-Wchar-subscripts]
             ch[p][cvt_ci[str[i]]] = ++ptot;
                                ^
/in/foo.cc:23:32: warning: array subscript has type 'char' [-Wchar-subscripts]
         p = ch[p][cvt_ci[str[i]]];
                                ^
/in/foo.cc: In function 'int search(const char*)':
/in/foo.cc:52:37: warning: array subscript has type 'char' [-Wchar-subscripts]
         int id = cvt_ci[str[dep + 1]];
                                     ^
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 6.32 MiB
#2 Accepted 2ms 4.324 MiB
#3 Accepted 3ms 10.309 MiB
#4 Accepted 13ms 44.316 MiB
#5 Accepted 12ms 38.18 MiB
#6 Runtime Error 4ms 12.316 MiB
#7 Runtime Error 3ms 8.305 MiB
#8 Runtime Error 2ms 4.191 MiB
#9 Runtime Error 4ms 6.305 MiB
#10 Accepted 1ms 2.324 MiB

信息

递交者
类型
递交
题目
1. 病毒检测(VIRUS)
题目数据
下载
语言
C++
递交时间
2019-09-26 17:48:53
评测时间
2019-09-26 17:48:53
评测机
分数
50
总耗时
53ms
峰值内存
44.316 MiB