secret.cpp:8:10: error: invalid use of non-static data member 'offlineDQ<T>::SZ'
8 | T stor[SZ][32-__builtin_clz(SZ)], id = 1;
| ^~
secret.cpp:6:13: note: declared here
6 | const int SZ = (1 << 10)
| ^~
secret.cpp:8:31: error: invalid use of non-static data member 'offlineDQ<T>::SZ'
8 | T stor[SZ][32-__builtin_clz(SZ)], id = 1;
| ^~
secret.cpp:6:13: note: declared here
6 | const int SZ = (1 << 10)
| ^~
secret.cpp:7:3: error: expected ';' before 'int'
7 | int n;
| ^~~
secret.cpp: In member function 'void offlineDQ<T>::fill(int, int, int)':
secret.cpp:15:37: error: 'stor' was not declared in this scope
15 | for(int i = m - 1; i >= l; i--) stor[i][ind] = prod = comb(a[i],prod);
| ^~~~
secret.cpp:17:32: error: 'stor' was not declared in this scope
17 | for(int i = m; i < r; i++) stor[i][ind] = prod = comb(prod,a[i]);
| ^~~~
secret.cpp: In member function 'void offlineDQ<T>::init(int)':
secret.cpp:21:3: error: 'n' was not declared in this scope
21 | n = 1; while ((1<<n) < sz(a)) ++n;
| ^
secret.cpp: In member function 'T offlineDQ<T>::query(int, int)':
secret.cpp:27:15: error: 'stor' was not declared in this scope
27 | return comb(stor[l][t],stor[r][t]);
| ^~~~
secret.cpp: In function 'void Init(int, int*)':
secret.cpp:35:12: error: no matching function for call to 'offlineDQ<int>::init()'
35 | odq.init();
| ^
secret.cpp:20:7: note: candidate: 'void offlineDQ<T>::init(int) [with T = int]'
20 | void init(int N) {
| ^~~~
secret.cpp:20:7: note: candidate expects 1 argument, 0 provided
secret.cpp: In function 'int Query(int, int)':
secret.cpp:39:10: error: 'odq' was not declared in this scope
39 | return odq.query(--L, --R);
| ^~~