/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void insert(char*, int)':
/in/foo.cc:25:25: warning: unused variable 'k' [-Wunused-variable]
  register int i,j,now=0,k;
                         ^
/in/foo.cc: In function 'void getfail()':
/in/foo.cc:40:17: warning: unused variable 'j' [-Wunused-variable]
  register int i,j,u,v,fail,head=1,tail=1;
                 ^
/in/foo.cc:40:21: warning: unused variable 'v' [-Wunused-variable]
  register int i,j,u,v,fail,head=1,tail=1;
                     ^
/in/foo.cc: In function 'void AC()':
/in/foo.cc:63:17: warning: unused variable 'u' [-Wunused-variable]
  register int i,u,v,j,now=0;
                 ^
/in/foo.cc:63:19: warning: unused variable 'v' [-Wunused-variable]
  register int i,u,v,j,now=0;
                   ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:81:15: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10000005]' [-Wformat=]
  scanf("%s",&T);
               ^
/in/foo.cc:84:15: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[105]' [-Wformat=]
  scanf("%s",&s),insert(s,i);
               ^
/in/foo.cc:82:17: warning: unused variable 'j' [-Wunused-variable]
  register int i,j,k;
                 ^
/in/foo.cc:82:19: warning: unused variable 'k' [-Wunused-variable]
  register int i,j,k;
                   ^
# 状态 耗时 内存占用
#1 Accepted 9ms 6.25 MiB
#2 Accepted 3ms 6.465 MiB
#3 Accepted 26ms 8.719 MiB
#4 Accepted 26ms 6.75 MiB
#5 Accepted 53ms 19.59 MiB
#6 Accepted 127ms 21.531 MiB
#7 Accepted 96ms 22.43 MiB
#8 Accepted 530ms 25.168 MiB
#9 Accepted 771ms 30.176 MiB
#10 Accepted 722ms 31.742 MiB

信息

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