记录详情

Wrong Answer

/in/foo.cc: In function 'int dfs(int)':
/in/foo.cc:12:8: warning: array subscript is above array bounds [-Warray-bounds]
  f[v][1]=1;
  ~~~~~~^
/in/foo.cc:15:27: warning: array subscript is above array bounds [-Warray-bounds]
   f[v][0]+=f[tree[v][i]][1];
            ~~~~~~~~~~~~~~~^
/in/foo.cc:16: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:16: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:16: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:38:34: warning: array subscript is above array bounds [-Warray-bounds]
  cout<<min1(f[root][0],f[root][1]);
                                  ^
# 状态 耗时 内存占用
#1 Wrong Answer 7ms 8.746 MiB
#2 Wrong Answer 7ms 8.074 MiB
#3 Wrong Answer 7ms 8.832 MiB
#4 Wrong Answer 7ms 8.0 MiB
#5 Wrong Answer 2ms 340.0 KiB

信息

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