Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
74486 苏馨怡 素数判断 C++ Wrong Answer 0 MS 268 KB 196 2024-05-25 14:22:23

Tests(0/1):


Code:

#include<iostream> using namespace std; int main(){ int n,c=0; for(int i=1;i<=10000;i++){ if(n%i==0){ c++; } } if(c==2){ cout<<"prine"; }else{ cout<<"not prime"; } }


Run Info:

------Input------
9973
------Answer-----
prime
------Your output-----
not prime