ГлавнаяСборникиТурнирыРазделыФорумыУчастникиПечатьПомощьО системе

Разделы > Unsorted > задача:


51108 - First Unique Character

Гость
• Вопросы к жюри (1)

Задачи раздела

• 50905 - Convert KPH to MPH
• 50962 - Find the Character
• 50974 - Area of the circle
• 51110 - The area of a circle
• 50967 - Finding Square Roots
• 50953 - ASCII Codes - Reverse
• 50960 - Number of Heart Beats
• 50885 - Calculate the Average
• 51108 - First Unique Character
• 50887 - Average of Test Scores
• 50904 - Print All Prime Numbers
• 50895 - Hours Minutes and Seconds
• 50902 - Translate Score into Grade
• 50938 - Translate Score into Grade
• 50958 - Number of Passengers in Train
• 50890 - Convert Celsius to Fahrenheit
• 50889 - Convert to Minutes and Sec...

Обратная связь

Если у вас есть предложения или пожелания по работе Contester, посетите форум сайта www.contester.ru.

Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб.

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