#include using lint=long long; lint mod=1'000'000'007; int main(){ std::cin.tie(nullptr);std::ios_base::sync_with_stdio(false); std::cout.setf(std::ios_base::fixed);std::cout.precision(15); lint n,d,K;std::cin>>n>>d>>K; std::vectordp(K+2),swp(K+2); for(lint i=1;i<=K+1;i++)dp.at(i)=1; for(lint i=0;i