| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 1959 | 李思贤 | 约数之和 | C++ | Accepted | 100 | 0 MS | 260 KB | 155 | 2019-11-03 06:48:20 |
#include<iostream> int main(){ int a,b=1,i=0; scanf("%d",&a); while(b<=a){ if(a%b==0) i=i+b; b=b+1; } printf("%d",i); return 0; }