PROGRAMMING:Cocktail therapy
###Task description
Cocktail therapy, originally referred to as "highly active antiretroviral therapy" (HAART), was proposed by Chinese American scientist he Dayi in 1996. It is a combination of three or more antiviral drugs to treat AIDS. The application of this therapy can reduce the drug resistance caused by single drug, inhibit the replication of virus to the greatest extent, and make the immune function of the damaged body recover partially or even completely, so as to delay the progress of the disease, prolong the life of patients and improve the quality of life.
On the basis of cocktail therapy, many improved therapies have been put forward. In order to verify whether these treatments are more effective than cocktail therapy, clinical controlled trials can be conducted. Suppose that the effective rate of cocktail therapy is x and that of new therapy is y. if Y-X is greater than 5%, the effect is better. If X-Y is greater than 5%, the effect is worse. Otherwise, it is said that the effect is almost the same. Here are n groups of clinical controlled trials. The first group was treated with cocktail therapy, and the other N-1 groups were treated with various improved therapies. Please write procedures to determine the effect of various improved therapies.
###Input format:
The first line is integer n (1 < n < = 20);
The other n rows have two integers in each row. The first integer is the total number of clinical trials (less than or equal to 10000) and the second is the number of effective cases.
Among the n rows of data, the data of the first behavior cocktail therapy, and the data of the other behaviors of various improved therapies.
###Output format:
There are n-1 lines of output, which respectively indicate the effect of the corresponding improved therapy
If the effect is better, output better; If the effect is worse, output worse; Otherwise, output the same
###Input example:
```in
five
125 99
112 89
145 99
99 97
123 98
```
###Output example:
```out
same
worse
better
same
```
###Title Source
Note: this topic is selected from openjudge website http://noi.openjudge.cn/ch0104/18/
###Problem analysis
According to the topic description, this topic needs to read the integer n first, then read a set of data (2 integers) and calculate the efficiency of the method. Note that the calculation result should be real data. Then read n-1 groups of data (2 integers), calculate the efficiency of each group of data, compare with the efficiency of the method, and output the results..
answer:If there is no answer, please comment
Cocktail therapy, originally referred to as "highly active antiretroviral therapy" (HAART), was proposed by Chinese American scientist he Dayi in 1996. It is a combination of three or more antiviral drugs to treat AIDS. The application of this therapy can reduce the drug resistance caused by single drug, inhibit the replication of virus to the greatest extent, and make the immune function of the damaged body recover partially or even completely, so as to delay the progress of the disease, prolong the life of patients and improve the quality of life.
On the basis of cocktail therapy, many improved therapies have been put forward. In order to verify whether these treatments are more effective than cocktail therapy, clinical controlled trials can be conducted. Suppose that the effective rate of cocktail therapy is x and that of new therapy is y. if Y-X is greater than 5%, the effect is better. If X-Y is greater than 5%, the effect is worse. Otherwise, it is said that the effect is almost the same. Here are n groups of clinical controlled trials. The first group was treated with cocktail therapy, and the other N-1 groups were treated with various improved therapies. Please write procedures to determine the effect of various improved therapies.
###Input format:
The first line is integer n (1 < n < = 20);
The other n rows have two integers in each row. The first integer is the total number of clinical trials (less than or equal to 10000) and the second is the number of effective cases.
Among the n rows of data, the data of the first behavior cocktail therapy, and the data of the other behaviors of various improved therapies.
###Output format:
There are n-1 lines of output, which respectively indicate the effect of the corresponding improved therapy
If the effect is better, output better; If the effect is worse, output worse; Otherwise, output the same
###Input example:
```in
five
125 99
112 89
145 99
99 97
123 98
```
###Output example:
```out
same
worse
better
same
```
###Title Source
Note: this topic is selected from openjudge website http://noi.openjudge.cn/ch0104/18/
###Problem analysis
According to the topic description, this topic needs to read the integer n first, then read a set of data (2 integers) and calculate the efficiency of the method. Note that the calculation result should be real data. Then read n-1 groups of data (2 integers), calculate the efficiency of each group of data, compare with the efficiency of the method, and output the results..
answer:If there is no answer, please comment