摘要:
include<bits/stdc++.h> define int long long using namespace std; int n,top,minn; const int N=1e6+10; int a[N],zhan[N],r[N],l[N]; long long ans; signed 阅读全文
摘要:
https://www.luogu.com.cn/problem/P1836 这是数位dp吗 这布什打表+暴力吗 #include<bits/stdc++.h> using namespace std; long long n; int sum[10]={0,1,3,6,10,15,21,28,36 阅读全文
摘要:
https://www.luogu.com.cn/problem/P2789 不是,\(n\le25\),这都能TLE? 始山代码,不说了 #include<bits/stdc++.h> using namespace std; int t[114514]; vector<int> lns; voi 阅读全文