books.cpp:15:20: error: 'll' was not declared in this scope
15 | unordered_map<int, ll> q;
| ^~
books.cpp:15:20: error: 'll' was not declared in this scope
books.cpp:15:20: error: 'll' was not declared in this scope
books.cpp:15:20: error: 'll' was not declared in this scope
books.cpp:15:20: error: 'll' was not declared in this scope
books.cpp:15:20: error: 'll' was not declared in this scope
books.cpp:15:20: error: 'll' was not declared in this scope
books.cpp:15:20: error: 'll' was not declared in this scope
books.cpp:15:20: error: 'll' was not declared in this scope
books.cpp:15:1: error: 'unordered_map' does not name a type
15 | unordered_map<int, ll> q;
| ^~~~~~~~~~~~~
books.cpp:16:1: error: 'll' does not name a type
16 | ll mskim(int a) {
| ^~
books.cpp:26:26: error: 'll' has not been declared
26 | void solve(int N, int K, ll A, int S) {
| ^~
books.cpp: In function 'void solve(int, int, int, int)':
books.cpp:27:3: error: 'q' was not declared in this scope
27 | q.clear();
| ^
books.cpp:30:3: error: 'll' was not declared in this scope
30 | ll sum = 0;
| ^~
books.cpp:38:9: error: expected ';' before 'v'
38 | ll v = mskim(mi);
| ^~
| ;
books.cpp:40:11: error: 'v' was not declared in this scope
40 | if (v < A) {
| ^
books.cpp:47:9: error: 'mskim' was not declared in this scope; did you mean 'skim'?
47 | if (mskim(lo) >= A) {
| ^~~~~
| skim
books.cpp:54:7: error: 'i' was not declared in this scope
54 | rep(i, K - 1) {
| ^
books.cpp:54:3: error: 'rep' was not declared in this scope
54 | rep(i, K - 1) {
| ^~~
books.cpp:59:5: error: 'sum' was not declared in this scope
59 | sum += mskim(f);
| ^~~
books.cpp:59:12: error: 'mskim' was not declared in this scope; did you mean 'skim'?
59 | sum += mskim(f);
| ^~~~~
| skim
books.cpp:62:7: error: 'vi' was not declared in this scope
62 | vi ans(K);
| ^~
books.cpp:64:7: error: 'ans' was not declared in this scope; did you mean 'abs'?
64 | ans[K - 1] = f + 1;
| ^~~
| abs
books.cpp:73:3: error: 'sum' was not declared in this scope
73 | sum += mskim(K - 1);
| ^~~
books.cpp:73:10: error: 'mskim' was not declared in this scope; did you mean 'skim'?
73 | sum += mskim(K - 1);
| ^~~~~
| skim
books.cpp:76:5: error: 'vi' was not declared in this scope
76 | vi ans(K);
| ^~
books.cpp:79:12: error: 'ans' was not declared in this scope; did you mean 'abs'?
79 | answer(ans);
| ^~~
| abs
books.cpp:89:7: error: 'vi' was not declared in this scope
89 | vi ans(K);
| ^~
books.cpp:90:11: error: 'j' was not declared in this scope
90 | rep(j, K - i - 1) {
| ^
books.cpp:97:14: error: 'ans' was not declared in this scope; did you mean 'abs'?
97 | answer(ans);
| ^~~
| abs