提交时间:2023-05-27 16:32:21
运行 ID: 74575
#include<bits/stdc++.h> using namespace std; string s; int ans; int main(){ cin>>s; for(int i=0;i<s.length();i++)ans+=s[i]; cout<<ans; return 0; }