#include #include #define ft first #define sc second #define pt(sth) cout << sth << "\n" #define chmax(a, b) (a)=(a>b)?(a):(b); #define chmin(a, b) (a)=(a PL; static const ll INF=1e18; static const ll MAX=101010; #define MOD 1000000007 /* for(i=0; i> a[i]; */ ll dp[333][333*333]={}; ll s[333][333*333]={}; int main(void) { ll i, j, k; ll N, D, K; cin >> N >> D >> K; dp[0][0]=1; s[0][0]=1; for(i=0; i