#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 easy ui datagrid 获取数据有关问题
- 怎么在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,该如何处理
- a+b problem
- 急 求大神帮忙关于jquey easy ui tree,该怎么处理
- jquery easy ui combobox后台处理完数据默许选中
- easy ui tree获取选中节点解决方法
- 跪求,easy ui 是怎么在前后台传递数据的
- jquery easy ui datagrid checkbox设立符合条件的不可选,跪求大神帮忙
- jquery-easy-ui使用常见有关问题备注
- eclise导入已存在工程报 Faceted Project Problem 异常
- easy-ui-2.9.0公布包
- jquery easy ui 中DataGrid的有关问题
- jquery easy ui 的一点有关问题
- JQuery Easy UI ―― 怎么让DataGrid自适应页面宽度
- confirm的有关问题 easy
- javascript problem,该怎么处理
- Easy UI 唯其如此提交一次,防止重复提交
- struts中如果提交 表单的内容为空时候,返回首页的有关问题。easy question
- The problem is choice.解决办法
- <h2>Struts Problem Report</h2>该如何解决
- jQuery easy ui的弹出框怎么根据参数动态取值