Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
7759 | 刘逸杭 | 判断质数(使用while循环) | C++ | Runtime Error | 1997 MS | 264 KB | 230 | 2025-05-17 19:38:36 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,i=2; cin>>n; while(i*i<=n){ if(n%i==0){ cout<<"No"; return 0; } } cout<<"Yes"; return 0; }
Runtime Error:[ERROR] A not allowed system call. Call ID:275