/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=0;i<n;i++) scanf("%d",&p[i]);p[n]=l;
  ^~~
/in/foo.cc:13:41: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(int i=0;i<n;i++) scanf("%d",&p[i]);p[n]=l;
                                         ^
/in/foo.cc:16:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int mid=bot+top>>1,pre=0,tot=0;
           ~~~^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 348.0 KiB
#2 Wrong Answer 4ms 364.0 KiB
#3 Wrong Answer 4ms 256.0 KiB
#4 Wrong Answer 4ms 380.0 KiB
#5 Wrong Answer 4ms 332.0 KiB
#6 Wrong Answer 22ms 640.0 KiB
#7 Wrong Answer 21ms 428.0 KiB
#8 Wrong Answer 20ms 384.0 KiB
#9 Wrong Answer 18ms 472.0 KiB
#10 Wrong Answer 20ms 468.0 KiB

信息

递交者
类型
递交
题目
P1981 跳石头
语言
C++
递交时间
2017-11-09 11:40:22
评测时间
2017-11-09 11:40:22
评测机
分数
0
总耗时
124ms
峰值内存
640.0 KiB