/ CWOI /

记录详情

Runtime Error

/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:23:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
/in/foo.cc: In function 'long long int query(int, int, int)':
/in/foo.cc:33:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=d[ro].l+d[ro].r>>1;
          ~~~~~~~^~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:44:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   scanf("%d",&a[i]);
                   ^
# 状态 耗时 内存占用
#1 Accepted 3ms 336.0 KiB
#2 Accepted 3ms 344.0 KiB
#3 Accepted 3ms 2.25 MiB
#4 Accepted 153ms 2.613 MiB
#5 Accepted 191ms 2.5 MiB
#6 Accepted 169ms 600.0 KiB
#7 Accepted 130ms 512.0 KiB
#8 Accepted 131ms 2.5 MiB
#9 Accepted 124ms 592.0 KiB
#10 Runtime Error 3ms 2.59 MiB

信息

递交者
类型
递交
题目
2017.07.08 P3 社会江哥
语言
C++
递交时间
2017-07-09 20:13:17
评测时间
2017-07-09 20:13:17
评测机
分数
270
总耗时
916ms
峰值内存
2.613 MiB