提交时间:2021-05-16 16:42:49

运行 ID: 19526

#include<bits/stdc++.h> using namespace std; string Name; int Answer; int main(){ cin>>Name; for(int i=0;i<=Name.length();i++){ Answer+=Name[i]; } cout<<Answer; return 0; }