diff --git a/AcWing/761/761.cpp b/AcWing/761/761.cpp new file mode 100644 index 00000000..d86e2bed --- /dev/null +++ b/AcWing/761/761.cpp @@ -0,0 +1,15 @@ +#include + +using namespace std; + +int main() { + char c; + int ans = 0; + while (cin >> c) { + if ('0' <= c && c <= '9') { + ans++; + } + } + cout << ans << endl; + return 0; +}