| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 12494 | 汤依宁 | 求因子数量 | C++ | Output Limit Exceeded | 0 | 22 MS | 256 KB | 302 | 2025-07-13 17:17:31 |
#include<bits/stdc++.h> using namespace std; int yinzi() { int a,n,b; cin>>n; for(int i=1; i<=n; i++) { a=0; b=i; for(int j=1; j<b; j++) { if(b%j==0) { a++; } } if(a-2<0) { cout<<"0"<<endl; } else { cout<<a-1<<endl; } } } int main() { yinzi(); }