| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 75620 | sh25_shenpy | 找素数(蓝桥杯2012决赛第1题) | C++ | 运行超时 | 1000 MS | 224 KB | 238 | 2025-12-08 17:30:53 |
#include<bits/stdc++.h> using namespace std; int main(){ int c=0,b=0,i=2; while(b<100002){ for(int w=2;w<i;w++){ if(i%w==0) c++; } i++; if(c==0) b++;} cout<<i; return 0;}