#include #include #include #include #include #include #include #include #include #include #include #include #include "testlib.h" #include using namespace std; //using namespace atcoder; using ll = long long; using pll = pair; //using mint = modint998244353; #define all(i) (i).begin(),(i).end() #define pb push_back #define INF 100000000000000000 #define rep(i,n) for (int i=0;i a){ x = a; return 1; } else{ return 0; } } bool chmax(ll &x,ll a){ if (x < a){ x = a; return 1; } else{ return 0; } } const long long MIN_N = 1; const long long MAX_N = 200; const long long MIN_K = 1; const long long MAX_K = 10000000000; int main(int argc, char* argv[]){ ios::sync_with_stdio(false); std::cin.tie(nullptr); registerValidation(argc,argv); ll N = inf.readLong(MIN_N,MAX_N,"N"); inf.readSpace(); ll K = inf.readLong(MIN_K,MAX_K,"K"); inf.readEoln(); inf.readEof(); ll M = ceil(sqrt(K)); M = min(K,M); vector res(M+1,1); vector Res(M+1,1); res[0] = 0; Res[0] = 1; for (ll n=1;nn-1;i--){ res[i] += res[i/n]; } } cout<