LZT

LZT  •  1个月前


include

using namespace std;

int main() {

int a, b, c = 0;
cin >> a;
for (b = 1; b <= a ; b++) {
	if (a % b == 0) {
		c += b;
	}
}
cout << c;
return 0;

}


评论:

请先登录,才能进行评论