题目描述
<p>We hate WA! We hate TLE! We hate RE! We hate PE......! The only thing we love is AC!Because we are ACMers! Now we give you a task that you should find how many strings―"AcmersLoveAc" are there in a string that we input.<br /> </p>
输入格式
<p> The input contains several testcases. Each testcase consists of one string(only contains capital letter and Lowercase letter) which is at most 100 characters. Input is terminated by EOF.<br /> </p>
输出格式
<p> For each testcase output, print an integer which stands for that how many strings―"AcmersLoveAc" are there in the input<br /> string.<br /> </p>
样例
样例输入 1
IKnowAcmersLoveAc
AcmersDontLoveAc
AcmersLoveAcAndAcmersLoveAc
样例输出 1
1
0
2
提交代码
请先登录后提交
🤖 AI 解题助手
DeepSeek
就绪