A=B
评价数不足
Remove last abc
   
奖励
收藏
已收藏
取消收藏
标签: level
文件大小
发表于
120.547 KB
2022 年 8 月 10 日 下午 2:34
1 项改动说明 ( 查看 )

订阅以下载
Remove last abc

描述
Input: A string of "a", "b" and "c".
Output: Remove the last occurrence of "abc".
Constraint: 1 <= Input length <= 9
1 条留言
カズエイ 2024 年 10 月 29 日 下午 8:53 
5 lines (/6 lines)

(once)=(end)ccccccc
accccccc=ccccccca
(once)abcccccccc=
bccccccc=cccccccb
(once)ccccccc=