0_0_38676847_16139.cpp:17:11: error: invalid use of non-static data member 'ST::level'
17 | : level(std::__lg(std::max((int)a.size() - 1, 1)) + 2),
| ^~~~~
0_0_38676847_16139.cpp:12:9: note: declared here
12 | int level;
| ^~~~~
0_0_38676847_16139.cpp:17:41: error: 'a' was not declared in this scope
17 | : level(std::__lg(std::max((int)a.size() - 1, 1)) + 2),
| ^
0_0_38676847_16139.cpp:18:48: error: expected ')' before ',' token
18 | f(std::vector<std::vector<int>>(level,
| ~ ^
| )
0_0_38676847_16139.cpp:18:48: error: expected ')' before ',' token
18 | f(std::vector<std::vector<int>>(level,
| ~ ^
| )
0_0_38676847_16139.cpp:18:48: error: 'int ST::f(...)' conflicts with a previous declaration
0_0_38676847_16139.cpp:13:35: note: previous declaration 'std::vector<std::vector<int> > ST::f'
13 | std::vector<std::vector<int>> f;
| ^
0_0_38676847_16139.cpp:19:59: error: invalid declarator before '(' token
19 | std::vector<int>(a.size() + 1))),
| ^
0_0_38676847_16139.cpp: In function 'void solve()':
0_0_38676847_16139.cpp:51:11: error: cannot convert 'std::vector<int>' to 'int' in initialization
51 | ST st(a);
| ^
| |
| std::vector<int>
|