| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 12284 | A班-袁誉晏 | 纯粹素数 | C++ | Wrong Answer | 0 | 0 MS | 248 KB | 332 | 2025-07-09 16:47:42 |
#include <bits/stdc++.h> using namespace std; bool a(int b) { for(int i=2;i<b;i++) { if(b%i==0) { return false; } } return true; } int main() { int sum=0; for(int i=1000;i<=300;i++ ) { if(a(i) && a(i%100) && a(i%10)) { cout<<i<<" "<<endl; sum++; } } return 0; }