Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
2020 | 陶俊宸 | 约数之和 | C++ | Compile Error | 0 | 0 MS | 0 KB | 168 | 2019-11-03 16:58:41 |
include<iostream> using namespace std; int main(){ int a,b=0; cin>>a; for(int c=1;c>a;c++){ if(a%c==0) b=b+c; } cout<<b; return 0; }