/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:10:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   scanf("%d",&t[k]);
                   ^
/in/foo.cc:13:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1,ls=k<<1,rs=ls|1;
          ~^~
/in/foo.cc: In function 'void add(int, int, int, int, int, int)':
/in/foo.cc:28:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1,ls=k<<1,rs=ls|1;
          ~^~
/in/foo.cc: In function 'long long int big(int, int, int, int, int)':
/in/foo.cc:36:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1,ls=k<<1,rs=ls|1;
          ~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:52:27: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
    scanf("%d%d%d",&l,&r,&c);
                           ^
# 状态 耗时 内存占用
#1 Wrong Answer 99ms 2.746 MiB
#2 Wrong Answer 127ms 4.375 MiB
#3 Accepted 61ms 5.25 MiB
#4 Accepted 27ms 4.68 MiB
#5 Wrong Answer 122ms 5.34 MiB
#6 Accepted 99ms 5.0 MiB
#7 Accepted 102ms 4.926 MiB
#8 Wrong Answer 113ms 5.18 MiB
#9 Wrong Answer 88ms 4.387 MiB
#10 Wrong Answer 100ms 4.633 MiB

信息

递交者
类型
递交
题目
P1659 河蟹王国
语言
C++
递交时间
2017-12-15 20:01:06
评测时间
2017-12-15 20:01:06
评测机
分数
40
总耗时
942ms
峰值内存
5.34 MiB