0_0_37758288_32041.cpp:4:7: error: 'MOD' does not name a type
const MOD=998244353;
^
0_0_37758288_32041.cpp:5:7: error: 'S' does not name a type
const S=233;
^
0_0_37758288_32041.cpp: In function 'void up(int&, int)':
0_0_37758288_32041.cpp:12:8: error: 'MOD' was not declared in this scope
a=a+b<MOD?a+b:a+b-MOD;
^
0_0_37758288_32041.cpp: In function 'int main()':
0_0_37758288_32041.cpp:25:15: error: 'S' was not declared in this scope
p[i]=p[i-1]*S;
^
0_0_37758288_32041.cpp:38:18: error: 'S' was not declared in this scope
fb[i]=fb[i-1]*S+b[i];
^
0_0_37758288_32041.cpp:43:18: error: 'S' was not declared in this scope
fc[i]=fc[i-1]*S+x;
^
0_0_37758288_32041.cpp:79:38: error: 'MOD' was not declared in this scope
f[i+1][k]=(f[i+1][k]+f[i][j])%MOD;
^
|