| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 42095 | 董承诺 | 因子求和 | C++ | Accepted | 100 | 0 MS | 248 KB | 152 | 2022-06-23 13:35:28 |
#include<bits/stdc++.h> using namespace std; int a,b; int main(){ cin>>a; for(int i=2;i<a;i++){ if(a%i==0) b+=i; } cout<<b; return 0; }