E/F题目 看起来简单的代码,会点语法应该就能看懂, 思路和题解一样的 #include <bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<int, int> PII; const int N = 1e4+1; int n, m; int a[N]; bool dp[N][N]; int pre[N][N]; void query(int n) { for (int i = 1; i <= n / i ; i ++ ) { if (n % i) continue; int...