Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
118280 周子潇 100至200之间的所有素数 C++ Wrong Answer 1 MS 264 KB 388 2025-04-26 16:40:09

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++) { if(i%2!=0) { cout<<i<<" "; } } return 0; }


Run Info:

------Input------
0
------Answer-----
101 103 107 109 113 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199
------Your output-----
101 103 105 107 109 111 113 115 117 119 121 123 125 127 129 131 133 135 137 139 141 143 145 147 149 151 153 155 157 159 161 163 165 167 169 171 173 175 177 179 181 183 185 187 189 191 193 195 197 199