## a letter and a number

a letter and a number 时间限制：3000 ms  |  内存限制：65535 KB 难度：1 描述 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<T<=10000).then T lines follow, each line is a case.each case contains a letter x and a...

## A problem is easy

A problem is easy 时间限制：1000 ms  |  内存限制：65535 KB 难度：3 描述 When Teddy was a child , he was always thinking about some simple math problems ,such as “What it’s 1 cup of water plus 1 pile of dough ..” , “100 yuan buy 100 pig” .etc.. One day Teddy met a old man in his dream , in that dream the man whose name was“RuLai” gave Teddy a problem :Given an N , can yo...

## Coin Test

Coin Test 时间限制：3000 ms  |  内存限制：65535 KB 难度：1 描述 As is known to all,if you throw a coin up and let it droped on the desk there are usually three results. Yes,just believe what I say ~it can be the right side or the other side or standing on the desk, If you don't believe this,just try In the past there were some famous mathematicians working on this .They ...