/ new_bzoj /

记录详情

Wrong Answer

/in/foo.cc: In function 'int find(int, int, int)':
/in/foo.cc:16:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int mid=L+R>>1;
           ~^~
/in/foo.cc: In function 'void print()':
/in/foo.cc:25:42: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  for (int i=1;i<=n;i++) printf("%d ",f[i]); printf("\n");
                                          ^
/in/foo.cc:25:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for (int i=1;i<=n;i++) printf("%d ",f[i]); printf("\n");
  ^~~
/in/foo.cc:25:45: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for (int i=1;i<=n;i++) printf("%d ",f[i]); printf("\n");
                                             ^~~~~~
/in/foo.cc: In function 'int find(int, int, int)':
/in/foo.cc:22:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return ans;
         ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 372.0 KiB
#2 Wrong Answer 15ms 1.875 MiB
#3 Wrong Answer 22ms 1.867 MiB
#4 Wrong Answer 21ms 1.98 MiB
#5 Wrong Answer 8ms 4.492 MiB
#6 Wrong Answer 8ms 988.0 KiB
#7 Wrong Answer 15ms 1.25 MiB
#8 Wrong Answer 16ms 1.5 MiB
#9 Wrong Answer 18ms 4.871 MiB
#10 Wrong Answer 17ms 4.844 MiB

信息

递交者
类型
递交
题目
玩具装箱toy
语言
C++
递交时间
2017-12-11 21:46:57
评测时间
2017-12-11 21:46:57
评测机
分数
0
总耗时
148ms
峰值内存
4.871 MiB