Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
78621 sh25_wuyy 求约数 C++ 通过 0 MS 248 KB 164 2025-12-27 08:43:28

Tests(1/1):


#include<iostream> using namespace std; int main() { int a,i,cnt=0; cin>>a; for(i=1;i<=a;i++) if(a%i==0) cout<<i<<" ",cnt++; cout<<"\n "<<cnt; }


测评信息: