文章
30
粉丝
0
获赞
16
访问
604
#include<bits/stdc++.h> using namespace std; int main(){ string str; while(cin >> str){ int sum = 0; for(char c:str){ sum += c - 'a' + 1; } cout << sum << endl; } return 0; }
登录后发布评论
暂无评论,来抢沙发