/ CWOI /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:31:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   printf("%d\n",ans);
                    ^
/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:53:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
/in/foo.cc: In function 'void update(int, int, long long int, int)':
/in/foo.cc:67: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:81:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
# 状态 耗时 内存占用
#1 Accepted 2ms 356.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 2ms 200.0 KiB
#4 Wrong Answer 13ms 2.375 MiB
#5 Wrong Answer 14ms 2.875 MiB
#6 Wrong Answer 27ms 1.164 MiB
#7 Wrong Answer 46ms 3.922 MiB
#8 Wrong Answer 29ms 3.25 MiB
#9 Wrong Answer 32ms 4.375 MiB
#10 Wrong Answer 23ms 3.234 MiB

信息

递交者
类型
递交
题目
2017.07.10 P2 楼梯
语言
C++
递交时间
2017-07-10 19:23:55
评测时间
2017-07-10 19:23:55
评测机
分数
60
总耗时
195ms
峰值内存
4.375 MiB