6-1. User has entered a string without any space.
6-2. Checks the string if any char in the string has reoccurrence(repeat). if yes, show which char, how many times it is being repeated follow the limitation rule in following:
a. If the character only appears once, do NOT output it. (example 1)
b. If ALL the characters in the string only appear once then output "no reoccurrence". (example 2)
c. Filter the result so the final count of each reoccurred/repeated characters will only output ONCE. (example 1)
詳細的題目如上,請自己發揮作答。