Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
14271 xingru 求约数 C++ 输出格式错误 0 MS 244 KB 192 2023-04-12 16:20:08

Tests(0/1):


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


测评信息: