garden.cpp: In function 'void solve()':
garden.cpp:18:12: error: 'n' was not declared in this scope; did you mean 'yn'?
18 | cin >> n >> K >> H;
| ^
| yn
garden.cpp:18:17: error: 'K' was not declared in this scope
18 | cin >> n >> K >> H;
| ^
garden.cpp:18:22: error: 'H' was not declared in this scope
18 | cin >> n >> K >> H;
| ^
garden.cpp:22:9: error: 'mark' was not declared in this scope
22 | mark[x] = i;
| ^~~~
garden.cpp:26:9: error: 'dp1' was not declared in this scope
26 | dp1[i][i-1] = 1;
| ^~~
garden.cpp:37:33: error: 'mark' was not declared in this scope
37 | mn = min(mn, mp(mark[i],i));
| ^~~~
garden.cpp:43:37: error: 'dp1' was not declared in this scope
43 | if(i-1 >= l) ans1 = dp1[l][i-1];
| ^~~
garden.cpp:45:37: error: 'dp1' was not declared in this scope
45 | if(i+1 <= r) ans2 = dp1[i+1][r];
| ^~~
garden.cpp:47:17: error: 'dp1' was not declared in this scope
47 | dp1[l][r] = (ans1*ans2)%mod;
| ^~~
garden.cpp:47:41: error: 'mod' was not declared in this scope; did you mean 'modf'?
47 | dp1[l][r] = (ans1*ans2)%mod;
| ^~~
| modf
garden.cpp:52:41: error: 'dp1' was not declared in this scope
52 | if(i-1 >= l) ans1 = dp1[l][i-1];
| ^~~
garden.cpp:54:41: error: 'dp1' was not declared in this scope
54 | if(i+1 <= r) ans2 = dp1[i+1][r];
| ^~~
garden.cpp:56:21: error: 'dp1' was not declared in this scope
56 | dp1[l][r]+= (ans1*ans2)%mod;
| ^~~
garden.cpp:56:45: error: 'mod' was not declared in this scope; did you mean 'modf'?
56 | dp1[l][r]+= (ans1*ans2)%mod;
| ^~~
| modf
garden.cpp:64:34: error: 'i' was not declared in this scope
64 | for(int sz = 1; sz <= n; i++) {
| ^
garden.cpp:66:25: error: 'r' was not declared in this scope
66 | if(l == r) {
| ^
garden.cpp:67:32: error: 'dp' was not declared in this scope; did you mean 'mp'?
67 | if(h == 0) dp[l][r][h] = 1;
| ^~
| mp
garden.cpp:68:26: error: 'dp' was not declared in this scope; did you mean 'mp'?
68 | else dp[l][r][h] = 0;
| ^~
| mp
garden.cpp:72:21: error: 'dp' was not declared in this scope; did you mean 'mp'?
72 | dp[l][r][h] = 0;
| ^~
| mp
garden.cpp:72:27: error: 'r' was not declared in this scope
72 | dp[l][r][h] = 0;
| ^
garden.cpp:79:37: error: 'mark' was not declared in this scope
79 | mn = min(mn, mp(mark[i],i));
| ^~~~
garden.cpp:84:21: error: 'dp' was not declared in this scope; did you mean 'mp'?
84 | dp[l][r][h]+= dp[l][i-1][h-1]
| ^~
| mp
garden.cpp: In function 'int32_t main()':
garden.cpp:94:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
94 | freopen("in.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~