Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
14270 xingru 求约数 C++ 运行出错 0 MS 244 KB 185 2023-04-12 16:18:51

Tests(0/1):


#include<bits/stdc++.h> using namespace std; int main() { int a,b; cin>>a; for(int i=0;i<=a;i++){ if(a%i==0){ cout<<i; b++; } } cout<<endl<<b; return 0; }


测评信息: