1087: Acmers Love AC
内存限制:128 MB
时间限制:1 S
标准输入输出
题目类型:传统
评测方式:文本比较
上传者:
提交:149
通过:52
题目描述
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.
输入格式
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.
输出格式
For each testcase output, print an integer which stands for that how many strings―"AcmersLoveAc" are there in the input
string.
string.
输入样例 复制
IKnowAcmersLoveAc
AcmersDontLoveAc
AcmersLoveAcAndAcmersLoveAc
输出样例 复制
1
0
2