HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


51108 - First Unique Character

Guest
• Review clarifications (1)

Section problems

• 50958 - Number of Passengers in Train
• 50889 - Convert to Minutes and Sec...
• 50952 - Print All Numbers from N d...
• 50900 - Put the Numbers in Descend...
• 50884 - Area and Perimeter Of The ...
• 51106 - Polar Bear
• 51109 - Integer to English
• 51110 - The area of a circle
• 51108 - First Unique Character
• 50899 - How Many Years
• 50551 - Camelot
• 50590 - Bronze medalists
• 50602 - Birthday Ivanova
• 50603 - Rider
• 50604 - Viruses
• 50605 - Behind Bars
• 50608 - Gangsters

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.

First Unique Character

Question: Write a program to find the first occurrence of a unique character in a string. For example, given a string: "aBcBcaAbBaAdAc", b and d are unique occurrences and b is the first one.

Input specification: You will be given one line of string with at most 300 chars. The string contains only letters and no special char.

Output specification: Show the first unique character in the string. If there is no unique character in the string, show the message "No unique char found".

Sample Input Sample Output
uylerlluAjkH
hulEdjuJklhe
wewe
y
E
No unique char found



Для отправки решений необходимо выполнить вход.

www.contester.ru