| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 75621 | sh25_shenpy | 找素数(蓝桥杯2012决赛第1题) | C++ | Time Limit Exceeded | 1000 MS | 236 KB | 253 | 2025-12-08 17:31:43 |
#include<bits/stdc++.h> using namespace std; int main(){ int c=0,b=0,i=2,n; cin>>n; while(b<100002){ for(int w=2;w<i;w++){ if(i%w==0) c++; } i++; if(c==0) b++;} cout<<i; return 0;}