Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
315786 邵致远 【C3-2】求因子数量 C++ 运行出错 0 0 MS 240 KB 206 2025-04-04 18:43:24

Tests(0/2):


#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; for(int i=1;i<=n;i++){ int s=0; for(int j=2;j<n;j++){ if(n%s==0) s++; } cout<<s<<endl; } return 0; }


测评信息: