1190: PKQ
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:2
Solved:2
Description
不允许普通用户打印题目,请教师登录后使用。如有疑问请联系管理员!
Input
一行,一个字符串 S ,字符串的长度len(s)<=1e6
Output
一行,输出字符串中" PKQ "的数目。
Sample Input Copy
PPPPKQQQ
Sample Output Copy
1