0_0_18083173_26403.cpp:28:7: error: 'maxn' was not declared in this scope
ll dl[maxn], dr[maxn], cnt[maxn], ans[maxn], len[maxn];
^
0_0_18083173_26403.cpp:28:17: error: 'maxn' was not declared in this scope
ll dl[maxn], dr[maxn], cnt[maxn], ans[maxn], len[maxn];
^
0_0_18083173_26403.cpp:28:28: error: 'maxn' was not declared in this scope
ll dl[maxn], dr[maxn], cnt[maxn], ans[maxn], len[maxn];
^
0_0_18083173_26403.cpp:28:39: error: 'maxn' was not declared in this scope
ll dl[maxn], dr[maxn], cnt[maxn], ans[maxn], len[maxn];
^
0_0_18083173_26403.cpp:28:50: error: 'maxn' was not declared in this scope
ll dl[maxn], dr[maxn], cnt[maxn], ans[maxn], len[maxn];
^
0_0_18083173_26403.cpp: In function 'void init()':
0_0_18083173_26403.cpp:31:5: error: 'dl' was not declared in this scope
dl[3]=0,dr[3]=2,dl[4]=2,dr[4]=2,ans[4]=0,len[3]=3,len[4]=5,cnt[3]=cnt[4]=1;
^
0_0_18083173_26403.cpp:31:13: error: 'dr' was not declared in this scope
dl[3]=0,dr[3]=2,dl[4]=2,dr[4]=2,ans[4]=0,len[3]=3,len[4]=5,cnt[3]=cnt[4]=1;
^
0_0_18083173_26403.cpp:31:37: error: 'ans' was not declared in this scope
dl[3]=0,dr[3]=2,dl[4]=2,dr[4]=2,ans[4]=0,len[3]=3,len[4]=5,cnt[3]=cnt[4]=1;
^
0_0_18083173_26403.cpp:31:46: error: 'len' was not declared in this scope
dl[3]=0,dr[3]=2,dl[4]=2,dr[4]=2,ans[4]=0,len[3]=3,len[4]=5,cnt[3]=cnt[4]=1;
^
0_0_18083173_26403.cpp:31:64: error: 'cnt' was not declared in this scope
dl[3]=0,dr[3]=2,dl[4]=2,dr[4]=2,ans[4]=0,len[3]=3,len[4]=5,cnt[3]=cnt[4]=1;
^
0_0_18083173_26403.cpp:32:26: error: 'maxn' was not declared in this scope
for (int i = 5; i <= maxn; i++) {
^
0_0_18083173_26403.cpp:33:37: error: 'mod' was not declared in this scope
ans[i] = dr[i-2]*cnt[i-1] % mod + cnt[i-2] * dl[i-1] % mod + cnt[i-1]*cnt[i-2] % mod + ans[i-1] + ans[i-2];
^
0_0_18083173_26403.cpp: In function 'void solve()':
0_0_18083173_26403.cpp:50:16: error: 'ans' was not declared in this scope
ansr = ans[n];
^
|