/ new_bzoj /

记录详情

Accepted

/in/foo.cc: In function 'long int min(long int, long int)':
/in/foo.cc:65:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if (a < b) return a; return b;
  ^~
/in/foo.cc:65:23: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if (a < b) return a; return b;
                       ^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:83:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
  while (scanf("%d", &n) != -1)
                       ^
/in/foo.cc: In function 'int BST_insert(long int, long int)':
/in/foo.cc:62:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int insert(long int)':
/in/foo.cc:79:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
递交
题目
营业额统计
语言
C++
递交时间
2017-08-30 11:19:46
评测时间
2017-08-30 11:19:47
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes