| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 159638 | 张晓冉 | 判断素数II | C++ | Wrong Answer | 1 MS | 272 KB | 224 | 2026-09-05 19:18:11 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; int s = 0; for(int i = 2;i <= n;i++){ if(i % 2 != 0){ s++; } } cout<<s<<endl; return 0; }
------Input------
302
------Answer-----
62
------Your output-----
150