/ 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 324.0 KiB
#2 Wrong Answer 189ms 14.934 MiB
#3 Wrong Answer 199ms 14.941 MiB
#4 Wrong Answer 244ms 14.934 MiB
#5 Wrong Answer 249ms 14.941 MiB

信息

递交者
类型
递交
题目
P2018 相关分析
语言
C++
递交时间
2018-12-13 20:35:19
评测时间
2018-12-13 20:35:28
评测机
分数
0
总耗时
885ms
峰值内存
14.941 MiB