/ Vijos /

记录详情

Accepted

/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 Accepted 4ms 256.0 KiB
#2 Accepted 4ms 380.0 KiB
#3 Accepted 4ms 256.0 KiB
#4 Accepted 4ms 256.0 KiB
#5 Accepted 5ms 256.0 KiB
#6 Accepted 20ms 652.0 KiB
#7 Accepted 21ms 384.0 KiB
#8 Accepted 25ms 536.0 KiB
#9 Accepted 26ms 512.0 KiB
#10 Accepted 20ms 484.0 KiB

信息

递交者
类型
递交
题目
P1981 跳石头
语言
C++
递交时间
2017-11-09 11:43:57
评测时间
2017-11-09 11:43:57
评测机
分数
100
总耗时
137ms
峰值内存
652.0 KiB