Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
91160 sh25_zhangyj 求约数 C++ 通过 0 MS 240 KB 255 2026-06-12 15:11:33

Tests(1/1):


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


测评信息: