| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 430905 | 许舒睿 | 【C2-8】判断素数 | C++ | Accepted | 100 | 2 MS | 244 KB | 246 | 2026-03-05 20:11:19 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if(n==1) { cout<<"F"; return 0; } else{ for(int i=2;i<n;i++){ if(n%i==0){ cout<<"F"; return 0; } } } cout<<"T"; return 0; }