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