luyencode / comments

Server lưu trữ bình luận trên Luyện Code
https://luyencode.net
6 stars 3 forks source link

https://oj.luyencode.net/problem/MKC #874

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Chi tiết bài tập - Luyện Code Online

https://oj.luyencode.net/problem/MKC

tranhainam2006 commented 1 year ago

include <bits/stdc++.h>

using namespace std; int main() { string a; cin >> a; int res = 0; for(auto x : a) res += (x - '0'); cout << res; }