/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int up(int)':
/in/foo.cc:14:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:21:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int mid=s+t>>1;
           ~^~
/in/foo.cc: In function 'void push(int, int, int)':
/in/foo.cc:27:9: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  D mid=s+t>>1,ls=mid-s+1,rs=t-mid;
        ~^~
/in/foo.cc:34:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   tree[r].t3=tree[r1].t1=tree[r1].t2=tree[r2].t1=tree[r2].t2=0;
              ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void update(int, int, int, int, int, double, double)':
/in/foo.cc:58:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=ns+nt>>1;
          ~~^~~
/in/foo.cc: In function 'void update(int, int, int, int, int)':
/in/foo.cc:70:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=ns+nt>>1;
          ~~^~~
/in/foo.cc: In function 'void query(int, int, int, int, int)':
/in/foo.cc:80:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=ns+nt>>1;
          ~~^~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 300.0 KiB
#2 Wrong Answer 197ms 14.938 MiB
#3 Wrong Answer 209ms 14.883 MiB
#4 Wrong Answer 261ms 14.957 MiB
#5 Wrong Answer 294ms 15.004 MiB

信息

递交者
类型
递交
题目
P2018 相关分析
语言
C++
递交时间
2019-06-16 21:00:55
评测时间
2019-06-16 21:00:55
评测机
分数
0
总耗时
965ms
峰值内存
15.004 MiB