Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
75510 sh25_shenpy 求约数 C++ 通过 0 MS 240 KB 255 2025-12-07 15:24:17

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; }


测评信息: