| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 74498 | 蔚佳良 | 素数判断 | C++ | Wrong Answer | 0 MS | 268 KB | 205 | 2024-05-25 14:30:29 |
#include<iostream> using namespace std; int main (){ int n,c=0; cin>>n; for(int i=1;i<=0;i++){ if(n % i == 0){ c++; } } if(c==2){ cout<<"prime"; }else{ cout<<"not prime"; } }
------Input------
9973
------Answer-----
prime
------Your output-----
not prime