Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
2027 李言 约数之和 C++ 通过 100 0 MS 256 KB 147 2019-11-03 19:46:38

Tests(1/1):


#include<iostream> int main(){ int a,b=1,c=0; scanf("%d",&a); while(b<=a){ if(a%b==0) c=c+b; b++; } printf("%d",c); return 0; }


测评信息: