| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 1943 | 张弛 | 约数之和 | C++ | Accepted | 100 | 0 MS | 244 KB | 167 | 2019-11-02 19:49:36 |
#include<iostream> using namespace std; int main(){ int a,b=1,c=0; cin>>a; for(;b<=a;b++){ if(a%b==0) c=c+b; } cout<<c; return 0; }