| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 74486 | 苏馨怡 | 素数判断 | C++ | Wrong Answer | 0 MS | 268 KB | 196 | 2024-05-25 14:22:23 |
#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"; } }
------Input------
9973
------Answer-----
prime
------Your output-----
not prime