C++-字符串-找第一个只出现一次的字符(拓展02-找到最后一个只出现一次的字符)
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Background
Description
找最后一个只出现一次的字符。给定一个只包含小写字母的字符串,请你找到最后一个仅出现一次的字符。如果没有,输出no。
Format
Input
Output
Samples
abbbc
c
abbbccadba
d
abbba
no
Limitation
1s, 1024KiB for each test case.