#include <iostream>
using namespace std;
int main(){ int a; while (cin >> a){ int sum = 0, i=2; while (a>=i){ if (a%i==0){ sum += i; a = a/i; } else { i++; } } cout << sum << endl; } return 0;}
while (a>=i){
做到平方根就好
while (a>=i){ 做到平方根就好
又是你😂
謝啦