| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 70626 | 黄枳润 | 13判断质数 | C++ | Compile Error | 0 MS | 0 KB | 227 | 2024-04-16 19:34:14 |
#include<iostream> using namespace std; int main() { int i,j; cin>>i; for(j=2;j<=i/2;j++){ if(j%i==0){ cout<<no; return 0; } } cout<<yes; return 0; }
Main.cc: In function 'int main()':
Main.cc:9:19: error: 'no' was not declared in this scope
cout<