记录详情

Accepted

/in/foo.cc: In function 'void marge(int, int)':
/in/foo.cc:22:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:45:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for (rr=ll+2;rr<=n;++rr) if(h[rr]>h[rr-1]) break; --rr;
   ^~~
/in/foo.cc:45:53: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for (rr=ll+2;rr<=n;++rr) if(h[rr]>h[rr-1]) break; --rr;
                                                     ^~
/in/foo.cc:46:25: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
   for (register int i=rr-ll>>1;i>=0;--i) swap(h[rr-i],h[ll+i]);
                       ~~^~~
# 状态 耗时 内存占用
#1 Accepted 20ms 1.812 MiB
#2 Accepted 2ms 380.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 3ms 256.0 KiB
#5 Accepted 3ms 352.0 KiB
#6 Accepted 15ms 1.48 MiB
#7 Accepted 16ms 1.559 MiB
#8 Accepted 15ms 1.523 MiB
#9 Accepted 14ms 1.625 MiB
#10 Accepted 15ms 1.84 MiB

信息

递交者
类型
递交
题目
休息
语言
C++
递交时间
2017-08-22 21:03:35
评测时间
2017-08-22 21:04:11
评测机
分数
100
总耗时
109ms
峰值内存
1.84 MiB