-->
当前位置:首页 > 题库

PROGRAMMING:There are several Zucc

Luz5年前 (2021-05-10)题库569
The string 'aazbczcuciocqwc' contains six 'Zucc'.
For example, bit 3 (z), bit 8 (U), bit 9 (c) and bit 12 (c) can form a "Zucc";
The 6th (z), 8th (U), 12th (c) and 15th (c) can also form a "Zucc".
Let's give you a string no longer than $$10 ^ 5 $$and containing only uppercase A-Z letters. How many Zucc can be formed?
###Input format:
The input has only one line and contains a string no longer than $$10 ^ 5 $.
###Output format:
Output the number of 'Zucc' contained in the string. The total number of questions should not exceed $$2 ^ {63} - 1 $.
###Input example:
```in
AAZBCZCUCIOCQWC
```
###Output example:
```out
six
```







answer:If there is no answer, please comment