| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 115737 | 范恒恺 | 14判断素数III | C++ | Output Limit Exceeded | 0 MS | 268 KB | 235 | 2025-04-04 08:56:24 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; for(int i=2;i<n;i++){ //cout<<i<<" "<<endl; if(n%i==0){ break; cout<<"NO"; }else{ cout<<"YES"; } } return 0; }