/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:80:16: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[30]' [-Wformat=]
   scanf("%s",&s);
                ^
/in/foo.cc: In function 'bool Cut()':
/in/foo.cc:12:46: warning: array subscript is above array bounds [-Warray-bounds]
   int A=num[a[1][i]],B=num[a[2][i]],C=num[a[3][i]];
                                           ~~~^
/in/foo.cc: In function 'bool check()':
/in/foo.cc:28:46: warning: array subscript is above array bounds [-Warray-bounds]
   int A=num[a[1][i]],B=num[a[2][i]],C=num[a[3][i]];
                                           ~~~^
/in/foo.cc: In function 'void dfs(int, int, int)':
/in/foo.cc:28:46: warning: array subscript is above array bounds [-Warray-bounds]
   int A=num[a[1][i]],B=num[a[2][i]],C=num[a[3][i]];
                                           ~~~^
/in/foo.cc:60:25: warning: array subscript is above array bounds [-Warray-bounds]
      use[i]=true,num[a[y][x]]=i;
                      ~~~^
/in/foo.cc:62:26: warning: array subscript is above array bounds [-Warray-bounds]
      use[i]=false,num[a[y][x]]=-1;
                       ~~~^
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 376.0 KiB
#2 Wrong Answer 3ms 384.0 KiB
#3 Wrong Answer 3ms 256.0 KiB
#4 Wrong Answer 2ms 384.0 KiB
#5 Wrong Answer 4ms 384.0 KiB
#6 Wrong Answer 3ms 256.0 KiB
#7 Wrong Answer 3ms 508.0 KiB
#8 Wrong Answer 3ms 332.0 KiB
#9 Wrong Answer 3ms 372.0 KiB
#10 Wrong Answer 2ms 344.0 KiB

信息

递交者
类型
递交
题目
P1099 虫食算
语言
C++
递交时间
2018-09-29 18:32:02
评测时间
2018-09-29 18:32:02
评测机
分数
0
总耗时
34ms
峰值内存
508.0 KiB