| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 12269 | 罗炜翰 | 找数游戏 | C++ | Wrong Answer | 0 | 3 MS | 256 KB | 344 | 2025-07-09 16:31:34 |
#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; } void fun(){ for(int i=100;i<=999;i++){ if(i/100!=i/10%10&&i/10%10!=i%10&&i/10%10>i/100+i%10&&!(z(i/10%10+i/100))){ cout<<i<<endl; } } } int main() { fun(); return 0; }