| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 12867 | 罗炜翰 | 纯粹合数 | C++ | Wrong Answer | 0 | 2 MS | 248 KB | 396 | 2025-08-27 16:50:27 |
#include<bits/stdc++.h> using namespace std; int z(int x) { if(x<2){ return 0; } for(int i = 2;i<=sqrt(x);i++) { if(x%i==0) { return 0; } } return 1; } int zz(int n){ if(!(z(n/100))&&!(z(n/10))&&!(z(n))){ return 1; } else { return 0; } } int main() { for(int i=400;i<=489;i++){ if(zz(i)==1){ cout<<i<<endl; } } return 0; }