这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
代码如下 ``` #include #define LL long long using namespace std; const int N=1e7+100; bool vis[N]; LL n,m; bool check(int x) { while (x) { if (x%10==7) return 1; x/=…
``` #include using namespace std; int log1[1000][1000],re[1000][1000],dp[1000][1000]; int n; int fun(int x,int y) { if(x==n) return log1[x][y]; if(! re[x][y]) r…