| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 132595 | 李朋秦 | 判断素数 | C++ | Output Limit Exceeded | 1 MS | 264 KB | 190 | 2025-10-11 17:29:17 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; for(int i=2;i<=sqrt(n);i++){ if(n%i==0){ cout<<"No"; }else{ cout<<"Yes"; } } return 0; }