/ new_bzoj /

记录详情

System Error

/in/foo.cc: In function 'void BST_insert(long long int, long long int)':
/in/foo.cc:22:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
  if (data < tree[x])
     ^
/in/foo.cc:26:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
  if (data >tree[x])
     ^
/in/foo.cc: In function 'int suc(long long int, long long int, long long int)':
/in/foo.cc:87:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int find(long long int, long long int)':
/in/foo.cc:75:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:35:31: warning: array subscript is below array bounds [-Warray-bounds]
  if (type[x] != 2) child[fa[x]][type[x]] = x;
                    ~~~~~~~~~~~^
/in/foo.cc:35:31: warning: array subscript is below array bounds [-Warray-bounds]
  if (type[x] != 2) child[fa[x]][type[x]] = x;
                    ~~~~~~~~~~~^
/in/foo.cc:35:31: warning: array subscript is below array bounds [-Warray-bounds]
  if (type[x] != 2) child[fa[x]][type[x]] = x;
                    ~~~~~~~~~~~^
/in/foo.cc:35:31: warning: array subscript is below array bounds [-Warray-bounds]
  if (type[x] != 2) child[fa[x]][type[x]] = x;
                    ~~~~~~~~~~~^
/in/foo.cc:35:31: warning: array subscript is below array bounds [-Warray-bounds]
  if (type[x] != 2) child[fa[x]][type[x]] = x;
                    ~~~~~~~~~~~^
VJ4Error('ProblemDataNotFoundError', '题目 590c98dcd3d8a132109938ec 的数据未找到。', 'newbzoj', '590c98dcd3d8a132109938ec')

信息

递交者
类型
递交
题目
挑剔的美食家
语言
C++
递交时间
2017-08-28 20:47:23
评测时间
2017-08-28 20:47:23
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes