/ 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 5ms 2.336 MiB
#2 Wrong Answer 20ms 3.613 MiB
#3 Wrong Answer 28ms 1.875 MiB
#4 Wrong Answer 21ms 1.973 MiB
#5 Wrong Answer 6ms 640.0 KiB
#6 Wrong Answer 11ms 2.625 MiB
#7 Wrong Answer 18ms 1.344 MiB
#8 Wrong Answer 22ms 4.75 MiB
#9 Wrong Answer 11ms 1.602 MiB
#10 Wrong Answer 19ms 4.848 MiB

信息

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