提交时间:2021-05-17 19:55:14

运行 ID: 19611

#include<bits/stdc++.h> using namespace std; string a; short ans; int main(){ getline(cin,a); short len=a.length(); for(short i=0;i<len;i++) ans+=a[i]; printf("%hd",ans); return 0; }