Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
97530 周琨智 14判断素数III C++ Runtime Error 1 MS 264 KB 198 2024-11-16 10:32:04

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,n; cin>>n; for(a==2;a<=n;a++){ if (n%a==0) cout<<"no"<<endl; continue; cout <<"yes"<<endl; } return 0; }


Run Info:

Runtime Error:Floating point exception