记录详情

Runtime Error

/in/foo.cc: In function 'void insert(const char*)':
/in/foo.cc:23:32: warning: array subscript has type 'char' [-Wchar-subscripts]
         if (ch[p][cvt_ci[str[i]]] == 0)
                                ^
/in/foo.cc:24:32: warning: array subscript has type 'char' [-Wchar-subscripts]
             ch[p][cvt_ci[str[i]]] = ++ptot;
                                ^
/in/foo.cc:25: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:54:37: warning: array subscript has type 'char' [-Wchar-subscripts]
         int id = cvt_ci[str[dep + 1]];
                                     ^
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 968.0 KiB
#3 Accepted 2ms 860.0 KiB
#4 Accepted 1ms 864.0 KiB
#5 Accepted 42ms 3.559 MiB
#6 Runtime Error 38ms 480.0 KiB
#7 Runtime Error 2ms 856.0 KiB
#8 Runtime Error 2ms 1.309 MiB
#9 Runtime Error 8ms 3.871 MiB
#10 Accepted 4ms 344.0 KiB

信息

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