Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
6829 吴承熹 100至200之间的所有素数 C++ Runtime Error 1994 MS 252 KB 544 2025-03-20 13:17:02

Tests(0/1):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ for(int i=100;i<=200;i++){ int a=0; for(int w=1;w<=i;i++){ int e=0; if(i%w==0){ e=e+1; } a=e; } if(a==2){ cout<<i<<endl; } } return 0; }


Run Info:

Runtime Error:[ERROR] A not allowed system call.
Call ID:275