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

PROGRAMMING:Wifi password

Luz5年前 (2021-05-10)题库421
The following is a picture circulated on Weibo: "dear students, in view of the fact that you sometimes need to use WiFi and are afraid of delaying your parents' study, now set the WiFi password to the following math question: A-1; B-2; C-3; D-4; Please answer by yourself and change every two days. Thank you for your cooperation! "—— In order to promote students' learning, teachers also spell... This problem requires you to write a program to translate the answers of a series of questions into WiFi password according to the corresponding relationship given on the paper. Here we simply assume that each multiple-choice question has four options and only one correct answer.
![ wifi.jpg](~/7e56be3f-caba-45f1-b9cb-38a96d44de76.jpg)
###Input format:
Input the first line to give a positive integer n ($$$Le $$100), and then n lines. Each line gives 4 options of a question according to the format of 'number answer','t 'represents the correct option, and'f' represents the wrong option. Options are separated by spaces.
###Output format:
Output the WiFi password on one line.
###Input example:
```in
eight
A-T B-F C-F D-F
C-T B-F A-F D-F
A-F D-F C-F B-T
B-T A-F C-F D-F
B-F D-T A-F C-F
A-T C-F B-F D-F
D-T B-F C-F A-F
C-T A-F B-F D-F
```
###Output example:
```out
thirteen million two hundred and twenty-four thousand one hundred and forty-three
```







answer:If there is no answer, please comment