记录详情

Accepted

/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 Accepted 2ms 2.188 MiB
#2 Accepted 2ms 4.203 MiB
#3 Accepted 2ms 4.32 MiB
#4 Accepted 2ms 4.207 MiB
#5 Accepted 2ms 2.406 MiB
#6 Accepted 6ms 6.352 MiB
#7 Accepted 20ms 8.57 MiB
#8 Accepted 34ms 12.668 MiB
#9 Accepted 163ms 23.82 MiB
#10 Accepted 2ms 4.191 MiB

信息

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