#abc297h. [abc297_h]Diff Adjacent

[abc297_h]Diff Adjacent

定义一个正整数序列是好的,当且仅当序列中相邻的元素都不相等。你需要求出序列中元素总和为 nn 的好序列个数 mod 998244353\bmod\ 998244353 的值。