/ new_bzoj /

记录详情

Wrong Answer

/in/foo.cc: In function 'int find(int, int, int)':
/in/foo.cc:15:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int mid=L+R>>1;
           ~^~
/in/foo.cc: In function 'void print()':
/in/foo.cc:22: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:22: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:22: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");
                                             ^~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 380.0 KiB
#2 Wrong Answer 18ms 4.969 MiB
#3 Wrong Answer 23ms 3.375 MiB
#4 Wrong Answer 23ms 1.875 MiB
#5 Wrong Answer 10ms 652.0 KiB
#6 Wrong Answer 13ms 896.0 KiB
#7 Wrong Answer 16ms 2.5 MiB
#8 Wrong Answer 17ms 3.0 MiB
#9 Wrong Answer 20ms 3.094 MiB
#10 Wrong Answer 19ms 4.871 MiB

信息

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