0_0_18486459_31976.cpp:19:11: error: redefinition of 'const int MOD'
const int MOD = 998244353;
^
0_0_18486459_31976.cpp:15:11: note: 'const int MOD' previously defined here
const int MOD = 1e9+7 ;
^
0_0_18486459_31976.cpp: In function 'int main()':
0_0_18486459_31976.cpp:38:13: error: 'j' was not declared in this scope
if (j>=l&&j<=r)
^
0_0_18486459_31976.cpp:39:13: error: 'ans' was not declared in this scope
ans=(ans+dp[cur][j])%MOD;
^
0_0_18486459_31976.cpp:41:21: error: 'ans' was not declared in this scope
printf("%d\n",ans);
^
|