/ CWOI /

记录详情

Wrong Answer

/in/foo.cc: In function 'void Bd(int, int, int)':
/in/foo.cc:31:9: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int m=l+r>>1;
        ~^~
/in/foo.cc: In function 'long long int Qy(int, int, int, int)':
/in/foo.cc:41:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int m=t[rt].l+t[rt].r>>1;
        ~~~~~~~^~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:58:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   scanf("%I64d",&a[i]);
                      ^
/in/foo.cc:65:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
    int m=ll+lr>>1;
          ~~^~~
/in/foo.cc:73:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
    int m=rl+rr>>1;
          ~~^~~
/in/foo.cc:81:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%I64d",ans);
                    ^
# 状态 耗时 内存占用
#1 Accepted 3ms 2.25 MiB
#2 Accepted 3ms 2.25 MiB
#3 Wrong Answer 550ms 8.625 MiB
#4 Accepted 528ms 7.258 MiB
#5 Wrong Answer 532ms 7.375 MiB
#6 Wrong Answer 553ms 7.66 MiB
#7 Wrong Answer 558ms 8.852 MiB
#8 Wrong Answer 515ms 7.547 MiB
#9 Wrong Answer 491ms 8.953 MiB
#10 Wrong Answer 537ms 8.574 MiB

信息

递交者
类型
递交
题目
2017.07.22 P2 城墙攻防战
语言
C++
递交时间
2017-07-24 17:38:13
评测时间
2017-07-24 17:39:25
评测机
分数
30
总耗时
4274ms
峰值内存
8.953 MiB