标签:code amp style class print blog char clu std
1 #include<stdio.h> 2 int main() 3 { 4 int n,m; 5 char s; 6 scanf("%d",&n); 7 while(n--) 8 { 9 scanf("%s%d",&s,&m); 10 if(s<‘a‘) 11 s-=‘A‘-1; 12 else 13 s=‘a‘-1-s; 14 printf("%d\n",s+m); 15 } 16 }
标签:code amp style class print blog char clu std
原文地址:http://www.cnblogs.com/qq188380780/p/6359994.html