Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
12379 | 陈路垚 | 你会数数吗 | C++ | Accepted | 100 | 0 MS | 252 KB | 435 | 2021-01-03 09:46:10 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,m,k; cin>>n; for(int i=1;i<=n;i++){ cin>>m; while(m!=0){ k=m%10; if(k==0) cout<<"O"; if(k==1) cout<<"O"; if(k==2) cout<<"T"; if(k==3) cout<<"T"; if(k==4) cout<<"F"; if(k==5) cout<<"F"; if(k==6) cout<<"S"; if(k==7) cout<<"S"; if(k==8) cout<<"E"; if(k==9) cout<<"N"; m/=10; } cout<<endl; } return 0; }