#include<cstdio> #include<iostream> #include<cstring> using namespace std; int main() { int tc; char c; scanf("%d\n",tc); while((c=getchar())!=EOF) { if(c=='1') printf("I"); else if(c=='2') printf("Z"); else if(c=='3') printf("E"); else if(c=='4') printf("A"); else if(c=='5') printf("S"); else if(c=='6') printf("G"); else if(c=='7') printf("T"); else if(c=='8') printf("B"); else if(c=='9') printf("P"); else if(c=='0') printf("O"); else printf("%c",c); } return 0; }
Sunday, July 17, 2016
UVA 11946 Solution
Unknown
Studying at Shahjalal University of Science and Technology, Sylhet.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment