Accepted
/in/foo.cc: In function 'void build(long long int, long long int, long long int)': /in/foo.cc:37:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] int mid = l + r >> 1; ~~^~~ /in/foo.cc: In function 'long long int querygcd(long long int, long long int, long long int)': /in/foo.cc:61:44: warning: unused variable 'ans' [-Wunused-variable] int mid = (tree[p].l + tree[p].r) >> 1,ans = 1; ^~~
信息
- 递交者
- 类型
- 自测
- 题目
- P1070 线段树模板题
- 语言
- C++
- 递交时间
- 2021-01-03 19:12:15
- 评测时间
- 2021-01-03 19:12:15
- 评测机
- 分数
- 10
- 总耗时
- 1ms
- 峰值内存
- 204.0 KiB