String #2

View as PDF

Submit solution

Points: 100.00 (partial)
Time limit: 1.0s
Memory limit: 1021M
Input: stdin
Output: stdout

Author:
Problem type

Nhập xâu ~S~. Đếm số từ trong xâu ~S~.

Input
  • Nhập xâu ~S~ (không quá ~10^5~ký tự).
Output
  • In ra số lượng từ trong xâu ~S~.
Example

Input

code dream

Output

2

Comments

Please read the guidelines before commenting.


There are no comments at the moment.