摘要: #include<bits/stdc++.h>using namespace std;int order[300007];long long t[300007],ans[300007];int main(){ int n; long long m; scanf("%d%lld",&n,&m); fo 阅读全文
posted @ 2019-01-14 17:14 sewage 阅读(189) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h>using namespace std;long long dp[107];int main(){ int cnt=1; dp[1]=1; for(int i=2;i<=1e9;i*=2){ dp[++cnt]=dp[cnt-1]*4+1;//记录长度为 阅读全文
posted @ 2019-01-14 14:37 sewage 阅读(115) 评论(0) 推荐(0) 编辑