摘要: 思路 已知是求最长的连续因子,那么我们枚举每一种起始因子的可能,然后枚举最长的可能。 起始因子为$i$,长度为$sum$。 #include <bits/stdc++.h> using namespace std; #define int long long signed main(){ int n 阅读全文
posted @ 2020-09-01 17:50 waryan 阅读(198) 评论(3) 推荐(2) 编辑