Determine whether any value appears at least twice in the array.
Input: one line of space-separated integers. Output: true if a duplicate exists, otherwise false.
true
false
Your program reads from stdin and prints to stdout.
Example 1
Input: 1 2 3 1
Output: true
Hints