Beginner Free Contest 16 - DSUM
View as PDF
Submit solution
Points:
0.05 (partial)
Time limit:
1.0s
Memory limit:
256M
Problem type
Allowed languages
C, C++, Go, Java, Kotlin, Pascal, PyPy, Python, Rust, Scratch
Comments
Bài tương tự
include <iostream>
using namespace std;
int main() { long n; cin >>n; cout << n/100 + (n%100)/10 + (n&100)%10; }