记录详情

Accepted

/in/foo.cc: In function 'void ST(int)':
/in/foo.cc:9:22: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
   for(int i=1;i+(1<<j-1)-1<=n;++i)
                     ~^~
/in/foo.cc:10:38: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
    mx[i][j]=max(mx[i][j-1],mx[i+(1<<j-1)][j-1]);
                                     ~^~
/in/foo.cc: In function 'void findp(int&, int, int)':
/in/foo.cc:22:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int mid=L+R>>1;
           ~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:14:19: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int maxlog=log2(r-l+1);
                  ~^~
/in/foo.cc:38:7: note: 'p' was declared here
   int p;findp(p,l+1,r+1);
       ^
# 状态 耗时 内存占用
#1 Accepted 2ms 1000.0 KiB
#2 Accepted 2ms 1.25 MiB
#3 Accepted 59ms 12.75 MiB
#4 Accepted 85ms 14.301 MiB
#5 Accepted 110ms 15.945 MiB
#6 Accepted 120ms 17.438 MiB
#7 Accepted 138ms 19.145 MiB
#8 Accepted 158ms 20.668 MiB
#9 Accepted 187ms 22.359 MiB
#10 Accepted 205ms 23.828 MiB

信息

递交者
类型
递交
题目
与众不同
题目数据
下载
语言
C++
递交时间
2019-06-07 11:36:03
评测时间
2019-06-07 11:37:01
评测机
分数
100
总耗时
1071ms
峰值内存
23.828 MiB