Runtime Error
/in/foo.cc: In function 'int main()': /in/foo.cc:16:10: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] j=1<<d-1; ~^~ /in/foo.cc:22:29: warning: right operand of comma operator has no effect [-Wunused-value] d=(int)log2(r[i]-l[i]+1),j<<d; ~^~~ /in/foo.cc:23:46: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] cout<<"\n"<<max(premax[l[i]][d],premax[r[i]-j+1][d]); ~~~~^~
信息
- 递交者
- 类型
- 递交
- 题目
- P1001 序列区间最大值
- 语言
- C++
- 递交时间
- 2019-08-24 14:08:08
- 评测时间
- 2019-08-24 14:09:05
- 评测机
- 分数
- 0
- 总耗时
- 1762ms
- 峰值内存
- 23.195 MiB