记录详情

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 2ms 504.0 KiB
#2 Accepted 1ms 1.047 MiB
#3 Accepted 2ms 864.0 KiB
#4 Accepted 45ms 3.922 MiB
#5 Accepted 42ms 3.594 MiB
#6 Runtime Error 1ms 480.0 KiB
#7 Runtime Error 7ms 900.0 KiB
#8 Runtime Error 7ms 1.414 MiB
#9 Runtime Error 5ms 3.879 MiB
#10 Accepted 1ms 344.0 KiB

信息

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