/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void add(char*)':
/in/foo.cc:14:26: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(!a[cur].son[num[s[i]]]) a[cur].son[num[s[i]]]=++cnt,a[cnt].vis=0;
                          ^
/in/foo.cc:14:49: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(!a[cur].son[num[s[i]]]) a[cur].son[num[s[i]]]=++cnt,a[cnt].vis=0;
                                                 ^
/in/foo.cc:15:26: warning: array subscript has type 'char' [-Wchar-subscripts]
   cur=a[cur].son[num[s[i]]];
                          ^
/in/foo.cc: In function 'void match()':
/in/foo.cc:38:26: warning: array subscript has type 'char' [-Wchar-subscripts]
   cur=a[cur].son[num[x[i]]];t=cur;
                          ^
/in/foo.cc: In function 'int find(int)':
/in/foo.cc:46:29: warning: array subscript has type 'char' [-Wchar-subscripts]
   cur=a[cur].son[num[s[i][j]]];
                             ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:53:28: warning: unused variable 'j' [-Wunused-variable]
  scanf("%d%d",&n,&m);int i,j;
                            ^
# 状态 耗时 内存占用
#1 Accepted 1041ms 270.625 MiB
#2 Runtime Error 1027ms 269.574 MiB
#3 Runtime Error 1032ms 270.375 MiB
#4 Runtime Error 1036ms 271.176 MiB
#5 Runtime Error 1039ms 271.215 MiB
#6 Runtime Error 1052ms 273.25 MiB
#7 Runtime Error 1056ms 275.375 MiB
#8 Runtime Error 1148ms 287.375 MiB
#9 Runtime Error 237ms 287.324 MiB
#10 Runtime Error 251ms 287.469 MiB

信息

递交者
类型
递交
题目
P1951 玄武密码
语言
C++
递交时间
2018-04-19 21:18:57
评测时间
2018-04-19 21:18:57
评测机
分数
10
总耗时
8923ms
峰值内存
287.469 MiB