#include<iostream>
using namespace std;
int main()
{char a;int n,t,m,sum;cin>>t;while(t--){sum=0;cin>>a>>n;if(a>='a'&&a<='z')m=-(a-'a'+1);if(a>='A'&&a<='Z')m=a-'A'+1;sum=m+n;cout<<sum<<endl;}}
详细解决方案
hdu 2055 An easy problem
热度:16 发布时间:2023-12-04 20:22:18.0
相关解决方案
- 'Update Progress' has encountered a problem An internal error has occurred解决方案
- java+jquery easy ui + json + struts分页例子
- 'Update Progress' has encountered a problem An internal error has occurred解决方案
- 关于jquery的【Liger UI】跟【Easy ui】比较!(80分讨论)
- Jquery easy ui datagrid 获取数据有关问题
- 关于jquery的【Liger UI】和【Easy ui】比较!(80分讨论),该怎么处理
- 哪位高手用过jquery easy ui 的checkbox tree 啊请问一下
- 怎么在gridview中实现如下操作?(super easy)
- 每日背熟一句英语(7)The problem I'm running into is that the window is opening up modal
- 每日背熟一句英语(14)You don't have to feel very sorry for your problem
- 每天背熟一句英语(7)The problem I'm running into is that the window is opening up modal.解决方案
- 每天背熟一句英语(14)You don't have to feel very sorry for your problem.该怎么解决
- TortoiseSVN失误:svn there has been a problem contacting the server
- 这道题关于check log shipping and find out the problem,该如何处理
- 修理android获取ip地址失败 Fix Obtaining IP Address Android WiFi Problem
- 【CodeCraft赛事】Problem 3——INVESCAPE (迷宫BFS)
- [求助]a problem, please help
- one problem
- J2ME项目保存出错 Problem Occurred
- 该程序出来什么问题?(easy)
- a+b problem
- a+b problem
- some easy questions
- the problem i don`t understand
- [求助] heap sort 排序算法(堆排序) problem
- 一道ACM题:The Counting Problem
- http://cdn.ac.nbutoj.com/Problem/view.xhtml?id=1198&& I can do it
- http://acm.uestc.edu.cn/problem.php?pid=1784&&
- Easy PHP + mantis 装配与设置
- 急 求大神帮忙关于jquey easy ui tree,该怎么处理