藍橋杯 算法訓練 素因子去重

 算法訓練 素因子去重 代碼 #include<bits/stdc++.h> using namespace std; int main() { long long int a,sum=1; cin>>a; for(long long int i=2;i<=sqrt(a);i++) { if(a%i==0) { whil
相關文章
相關標籤/搜索