Gửi bài giải
Điểm:
1,00 (OI)
Giới hạn thời gian:
1.0s
Giới hạn bộ nhớ:
256M
Input:
stdin
Output:
stdout
Nguồn bài:
Dạng bài
Ngôn ngữ cho phép
C, C++, Java, Kotlin, Pascal, PyPy, Python, Scratch
Write a program to perform the following task:
Input a string ~S~ from the keyboard. Print the number of characters that appear exactly once in the string ~S~.
Input
- The first and only line contains a string ~S~ consisting of characters.
- The length of ~S~ ~(|S|)~ is at most ~10^{5}~ characters.
Output
- Print the number of characters that appear exactly once in the string ~S~.
Sample Input
Hello EIUer 2024.
Sample Output
9
Bình luận