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

PROGRAMMING:Poor WLS

Luz5年前 (2021-05-10)题库392
WLS is very painful to be a party B. It was in a good state. Every day, there are customers who call in the middle of the night to find fault. Every time, their condition will be reduced.
However, WLS has experienced many battles and can ignore sand sculpture customers. Sometimes, it can turn around to make him more aggressive.
The state can be represented by a numerical value
WLS wants to know how good he can be in the end.
###Input format:
The three numbers V, N, m and K respectively represent the initial WLS state value, the number of days, the number of times to ignore customers, and vice versa.
WLS status cannot be less than 0, otherwise it will become a loser.
The number of N in the next line is 0 $$\ Le $$a$$_ 1$$,a$$_ 2$$.....a$$_ N $$$$Le $$100 represents the impact of each customer,
0$$\le$$v$$\le$$10000 、0$$\le$$m,k$$\le$$10、0###Output format:
If WLS becomes a loser, output a loser
Otherwise, output the best value of WLS
###Input example:
```in
3 5 1 1
1 2 3 4 5
```
```in
3 5 1 1
5 4 3 2 1
```
###Output example:
```out
loser
```
```out
two
```







answer:If there is no answer, please comment