| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 12305 | A班-袁誉晏 | 判断素数 | C++ | Accepted | 100 | 1 MS | 264 KB | 279 | 2025-07-09 17:06:13 |
#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 n; cin>>n; if(a(n) && n!=1) { cout<<"T"; } else { cout<<"F"; } }