mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-14 04:18:48 +00:00
16 lines
225 B
C++
16 lines
225 B
C++
#include <bits/stdc++.h>
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
char c;
|
|
int ans = 0;
|
|
while (cin >> c) {
|
|
if ('0' <= c && c <= '9') {
|
|
ans++;
|
|
}
|
|
}
|
|
cout << ans << endl;
|
|
return 0;
|
|
}
|