/ new_bzoj /

记录详情

Compile 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 main()':
/in/foo.cc:112:17: error: return-statement with no value, in function returning 'int' [-fpermissive]
   printf("-1"); return ;
                 ^~~~~~
/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]
 }
 ^

信息

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