I. Đếm dấu khoảng trắng


Submit solution

Points: 50
Time limit: 1.0s
Memory limit: 256M

Problem type

Cho một chuỗi kí tự sn kí tự (n ≤ 100). Hãy đếm số kí tự khoảng trắng trong chuỗi đó.

Input
  • Gồm một dòng duy nhất là chuỗi kí tự s.
Output
  • In ra số lượng kí tự khoảng trắng của s.
Example
input kad 1 4 1 2
output 4

Comments

There are no comments at the moment.