Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
64836 冯纪尧 判断素数II C++ Wrong Answer 2 MS 272 KB 226 2024-01-22 10:33:54

Tests(0/10):


Code:

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


Run Info:

------Input------
302
------Answer-----
62
------Your output-----
4