/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void ins(int)':
/in/foo.cc:17:20: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(!tr[k][dy[B[i]]])tr[k][dy[B[i]]]=T[k][dy[B[i]]]=++cnt,f[cnt]=k;
                    ^
/in/foo.cc:17:36: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(!tr[k][dy[B[i]]])tr[k][dy[B[i]]]=T[k][dy[B[i]]]=++cnt,f[cnt]=k;
                                    ^
/in/foo.cc:17:51: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(!tr[k][dy[B[i]]])tr[k][dy[B[i]]]=T[k][dy[B[i]]]=++cnt,f[cnt]=k;
                                                   ^
/in/foo.cc:18:18: warning: array subscript has type 'char' [-Wchar-subscripts]
   k=tr[k][dy[B[i]]];
                  ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:50:22: warning: array subscript has type 'char' [-Wchar-subscripts]
   now=tr[now][dy[A[i]]];k=now;
                      ^
# 状态 耗时 内存占用
#1 Accepted 6ms 320.0 KiB
#2 Accepted 3ms 444.0 KiB
#3 Accepted 11ms 1.875 MiB
#4 Accepted 4ms 844.0 KiB
#5 Accepted 33ms 14.531 MiB
#6 Accepted 52ms 18.438 MiB
#7 Accepted 44ms 15.434 MiB
#8 Runtime Error 189ms 19.422 MiB
#9 Runtime Error 179ms 23.328 MiB
#10 Runtime Error 156ms 24.695 MiB

信息

递交者
类型
递交
题目
P1951 玄武密码
语言
C++
递交时间
2019-01-12 12:55:56
评测时间
2019-01-12 12:55:56
评测机
分数
70
总耗时
680ms
峰值内存
24.695 MiB