文件名称:a letter and a number
文件大小:406B
文件格式:JAVA
更新时间:2016-05-26 14:55:08
字母数字求和
描述
we define f(A) = 1, f(a) = -1, f(B) = 2, f(b) = -2, ... f(Z) = 26, f(z) = -26;
Give you a letter x and a number y , you should output the result of y+f(x).
输入
On the first line, contains a number T(0