#include #include using namespace std; using namespace atcoder; using ll = long long; using mint = modint998244353; const int MX = 1000010; mint f[MX],inv[MX],fi[MX]; constexpr ll mod = 998244353; void solve(){ inv[1] = 1; for(int i=2;i> n >> l >> u; mint ans = 0; for(int sum = l + n;sum<=u + n;sum++){ ans += nck(sum + n - 1,n - 1) - nck(sum + n - 1,n + u + 1); } cout << ans.val() << "\n"; }