#include<bits/stdc++.h> using namespace std; int n; int main() { cin>>n; cout<<n%10+n/10%10+n/10/10; return 0; }
使用您的 NarmoOJ 通用账户