记录详情

Wrong Answer

/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:11:8: warning: array subscript is above array bounds [-Warray-bounds]
  f[v][1]=1;
  ~~~~~~^
/in/foo.cc:14:27: warning: array subscript is above array bounds [-Warray-bounds]
   f[v][0]+=f[tree[v][i]][1];
            ~~~~~~~~~~~~~~~^
/in/foo.cc:15:16: warning: array subscript is above array bounds [-Warray-bounds]
   f[v][1]+=min1(f[tree[v][i]][0],f[tree[v][i]][1]);
            ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:15:50: warning: array subscript is above array bounds [-Warray-bounds]
   f[v][1]+=min1(f[tree[v][i]][0],f[tree[v][i]][1]);
                                                  ^
/in/foo.cc:15:10: warning: array subscript is above array bounds [-Warray-bounds]
   f[v][1]+=min1(f[tree[v][i]][0],f[tree[v][i]][1]);
   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:35:34: warning: array subscript is above array bounds [-Warray-bounds]
  cout<<min1(f[root][0],f[root][1]);
                                  ^
# 状态 耗时 内存占用
#1 Wrong Answer 7ms 9.078 MiB
#2 Wrong Answer 6ms 9.348 MiB
#3 Wrong Answer 8ms 9.066 MiB
#4 Wrong Answer 8ms 9.125 MiB
#5 Wrong Answer 3ms 352.0 KiB

信息

递交者
类型
递交
题目
战略游戏
题目数据
下载
语言
C++
递交时间
2017-08-27 23:38:01
评测时间
2017-08-27 23:38:01
评测机
分数
0
总耗时
34ms
峰值内存
9.348 MiB