0_0_37665120_20339.cpp: In function 'int main()':
0_0_37665120_20339.cpp:137:14: error: expected unqualified-id before '[' token
for (auto &[l, r, h]: qs) {
^
0_0_37665120_20339.cpp:137:14: error: expected ';' before '[' token
0_0_37665120_20339.cpp:137:15: error: 'l' was not declared in this scope
for (auto &[l, r, h]: qs) {
^
0_0_37665120_20339.cpp:137:18: error: 'r' was not declared in this scope
for (auto &[l, r, h]: qs) {
^
0_0_37665120_20339.cpp:137:21: error: 'h' was not declared in this scope
for (auto &[l, r, h]: qs) {
^
0_0_37665120_20339.cpp: In lambda function:
0_0_37665120_20339.cpp:137:23: error: expected '{' before ':' token
for (auto &[l, r, h]: qs) {
^
0_0_37665120_20339.cpp: In function 'int main()':
0_0_37665120_20339.cpp:137:23: error: expected ';' before ':' token
0_0_37665120_20339.cpp:137:23: error: expected primary-expression before ':' token
0_0_37665120_20339.cpp:137:23: error: expected ')' before ':' token
0_0_37665120_20339.cpp:137:23: error: expected primary-expression before ':' token
0_0_37665120_20339.cpp:150:13: error: expected unqualified-id before '[' token
for (auto [l, r, h]: qs) {
^
0_0_37665120_20339.cpp:150:13: error: expected ';' before '[' token
0_0_37665120_20339.cpp:150:14: error: 'l' was not declared in this scope
for (auto [l, r, h]: qs) {
^
0_0_37665120_20339.cpp:150:17: error: 'r' was not declared in this scope
for (auto [l, r, h]: qs) {
^
0_0_37665120_20339.cpp:150:20: error: 'h' was not declared in this scope
for (auto [l, r, h]: qs) {
^
0_0_37665120_20339.cpp: In lambda function:
0_0_37665120_20339.cpp:150:22: error: expected '{' before ':' token
for (auto [l, r, h]: qs) {
^
0_0_37665120_20339.cpp: In function 'int main()':
0_0_37665120_20339.cpp:150:22: error: expected ';' before ':' token
0_0_37665120_20339.cpp:150:22: error: expected primary-expression before ':' token
0_0_37665120_20339.cpp:150:22: error: expected ')' before ':' token
0_0_37665120_20339.cpp:150:22: error: expected primary-expression before ':' token
0_0_37665120_20339.cpp: In instantiation of 'LazySegTree<Info, Tag>::LazySegTree(const std::vector<_RealType>&) [with Info = Info; Tag = int]':
0_0_37665120_20339.cpp:149:34: required from here
0_0_37665120_20339.cpp:94:27: error: invalid use of 'auto'
build(build, 1, 0, n - 1);
^
0_0_37665120_20339.cpp: In instantiation of 'LazySegTree<Info, Tag>::LazySegTree(const std::vector<_RealType>&)::<lambda(auto:1, int, int, int)> [with auto:1 = LazySegTree<Info, Tag>::LazySegTree(const std::vector<_RealType>&) [with Info = Info; Tag = int]::<lambda(auto:1, int, int, int)>; Info = Info; Tag = int]':
0_0_37665120_20339.cpp:94:27: required from 'LazySegTree<Info, Tag>::LazySegTree(const std::vector<_RealType>&) [with Info = Info; Tag = int]'
0_0_37665120_20339.cpp:149:34: required from here
0_0_37665120_20339.cpp:92:10: error: 'pull' was not declared in this scope
pull(i);
^
|