/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:9:24: warning: array subscript is above array bounds [-Warray-bounds]
  F[x][0]=F[x][1]=F[x][2]=0;
                  ~~~~~~^
/in/foo.cc:15:43: warning: array subscript is above array bounds [-Warray-bounds]
   F[x][2]+=min(F[s[x][i]][0],F[s[x][i]][1]);
                                           ^
/in/foo.cc:15:10: warning: array subscript is above array bounds [-Warray-bounds]
   F[x][2]+=min(F[s[x][i]][0],F[s[x][i]][1]);
   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void init()':
/in/foo.cc:23:24: warning: array subscript is above array bounds [-Warray-bounds]
  F[0][0]=F[0][1]=F[0][2]=0;
                  ~~~~~~^
# 状态 耗时 内存占用
#1 Accepted 3ms 272.0 KiB
#2 Wrong Answer 2ms 384.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Wrong Answer 10ms 8.125 MiB
#5 Accepted 6ms 5.371 MiB
#6 Wrong Answer 5ms 4.375 MiB
#7 Wrong Answer 3ms 368.0 KiB

信息

递交者
类型
递交
题目
P1144 小胖守皇宫
语言
C++
递交时间
2018-02-07 19:35:38
评测时间
2018-02-07 19:35:38
评测机
分数
42
总耗时
35ms
峰值内存
8.125 MiB