PROGRAMMING:Yes, several questions (single topic)
Write a program to judge whether the user has answered several questions correctly.
explain:
1 -- take ten judgment questions as an example, the answer submitted by the user should be a string with a length of ten, such as: "abcddcbacd". The position of the character represents the question number, and the option is of course one of the character sets ['a ','b','c ','d' '].
2 -- the standard answer is a long integer (8 bytes, 64 binary bits). In the binary storage of long integer, two binary bits are used to correspond to one answer: 00-a, 01-B, 10-C, 11-d. a long integer can mark the answers of 32 questions. For example, the lowest eight bits of 228 are 11 10 01 00, which means that the answers to the first four questions are ABCD in turn.
###Input format:
There are two lines of input:
The first line is the answer options submitted by the user: each character represents an option (one of ABCD), and the length of the string indicates the number of questions (within the range of [5,32]).
On the second line, a long integer (note, not a string) representing the standard answer in binary bits.
###Output format:
Output the number of correct answers to the user's single choice questions (how many questions are the same as the standard answers).
###Input example:
```in
ABCDABCD
-6940
```
###Output example:
```out
eight
```
answer:If there is no answer, please comment
explain:
1 -- take ten judgment questions as an example, the answer submitted by the user should be a string with a length of ten, such as: "abcddcbacd". The position of the character represents the question number, and the option is of course one of the character sets ['a ','b','c ','d' '].
2 -- the standard answer is a long integer (8 bytes, 64 binary bits). In the binary storage of long integer, two binary bits are used to correspond to one answer: 00-a, 01-B, 10-C, 11-d. a long integer can mark the answers of 32 questions. For example, the lowest eight bits of 228 are 11 10 01 00, which means that the answers to the first four questions are ABCD in turn.
###Input format:
There are two lines of input:
The first line is the answer options submitted by the user: each character represents an option (one of ABCD), and the length of the string indicates the number of questions (within the range of [5,32]).
On the second line, a long integer (note, not a string) representing the standard answer in binary bits.
###Output format:
Output the number of correct answers to the user's single choice questions (how many questions are the same as the standard answers).
###Input example:
```in
ABCDABCD
-6940
```
###Output example:
```out
eight
```
answer:If there is no answer, please comment