标签:int name mes i++ c++ ios std names csharp
//074 #include<iostream> using namespace std; int n,sum,c; int main() { cin>>n; for(int i=1;i<=n;i++) { if(n%i==0) { sum=sum+i; c++; } } cout<<c<<" "<<sum; return 0; }
标签:int name mes i++ c++ ios std names csharp
原文地址:https://www.cnblogs.com/wbyzs/p/10230389.html