提交时间:2024-01-22 17:26:43
运行 ID: 123182
#include<iostream> using namespace std; string s; int main(){ cin>>s; cout<<s[0]-'0'+s[1]-'0'+s[2]-'0'<<endl; return 0; }