#C3805. Unique Characters Checker
Unique Characters Checker
Unique Characters Checker
You are given a string. Your task is to determine whether all characters in the string are unique. In other words, check if no character appears more than once in the string.
If we denote the input string as \(S\) of length \(n\), the requirement is that for any two indices \(i\) and \(j\) such that \(i \neq j\), the characters satisfy \(S[i] \neq S[j]\). Otherwise, the answer is false.
The answer should be printed as either True
or False
on a single line.
inputFormat
The input is provided from standard input (stdin) as a single line string. The string may contain spaces and any printable characters.
outputFormat
Output a single line to standard output (stdout): True
if every character in the string is unique, and False
otherwise.
abcdefghijk
True