| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 12291 | 罗炜翰 | 纯粹合数 | C++ | Output Limit Exceeded | 0 | 20 MS | 252 KB | 379 | 2025-07-09 16:50:40 |
#include<bits/stdc++.h> using namespace std; int z(int x) { for(int i = 2;i<x;i++) { if(x%i==0) { return 0; } } return 1; } int zz(int n){ if(!(z(n)&&z(n%100)&&z(n%10))){ return 1; } else { return 0; } } void fun(){ for(int i=100;i<=999;i++){ if(zz(i)){ cout<<i<<endl; } } } int main() { fun(); return 0; }