首页 > Constructive
头像 雨晴世界
发表于 2026-02-09 20:21:46
由于乘法的递进比加法要快,可以判断出答案数量有限,动手写出几组数据。 当写到{1,2,3}时,可以发现后面已经没有满足要求的数据。 由此得出满足条件的数据只有{1},{1,2,3}; ```#include<bits/stdc++.h> using namespace std; int 展开全文