Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
74496 蔚佳良 素数判断 C++ Wrong Answer 0 MS 280 KB 235 2024-05-25 14:28:50

Tests(0/1):


Code:

#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++; //TODO } //TODO } if(c==2){ cout<<"prime"; //TODO }else{ cout<<"not prim"; } }


Run Info:

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