#K41627. Unique Characters in a String
Unique Characters in a String
Unique Characters in a String
Given a string S
, determine whether all characters in the string are unique when compared in a case-insensitive manner. That is, the characters 'A' and 'a' are considered the same. Your task is to read the input string from stdin and output True
if all characters are unique, otherwise output False
.
For example:
- Input:
abcdef
→ Output:True
- Input:
AaBbCc
→ Output:False
Please ensure that your solution reads from standard input and writes to standard output.
inputFormat
A single line containing the string S. The string may consist of alphanumeric characters and its length can range from 1 to 10^5. The input is read from standard input (stdin).
outputFormat
A single line containing either 'True' or 'False', indicating whether all characters in the string are unique (case-insensitive). The output is written to standard output (stdout).## sample
abcdef
True