T539821 202411B Legends Never Die
题目背景
> They never lose hope when everything's cold and the fighting's near$\\$It's deep in their bones they'll run into smoke when the fire is fierce
节选自《Legends Never Die》。
题目描述
在《迪迪卫》中,每位英雄拥有战力 $A$,坦度 $B$,担当 $C$。
小 Z 有一个评估参数 $K$,他将使用 $A, B, C$ 评价一位英雄:
- 如果 $A+B\ge K$,则这位英雄是**全能王**。
- 如果 $A+C\ge K$,则这位英雄是**主力骨**。
- 如果 $B+C\ge K$,则这位英雄是**可靠者**。
给你一位英雄的三个数值与评估参数,请你依次判断这位英雄是否是**全能王**、**主力骨**、**可靠者**。如果是,输出 `Yes`,否则,输出 `No`。
输入格式
一行四个整数 $A,B,C,K$,分别表示这位英雄的战力、坦度、担当。
输出格式
共三行,每行一个字符串 `Yes` 或 `No`,依次表示这位英雄是否是**全能王**,**主力骨**,**可靠者**。
说明/提示
### 样例 #1 解释
对这位英雄,有 $A = 1, B = 3, C = 4, K = 5$。
- $A + B = 1 + 3 = 4 < 5$,因此这位英雄不是**全能王**。
- $A + C = 1 + 4 = 5 \geq 5$,因此这位英雄是**主力骨**。
- $B + C = 3 + 4 = 7 \geq 5$,因此这位英雄是**可靠者**。
因此依次输出 `No`、`Yes`、`Yes`。
### 数据范围
对于 $100\%$ 的数据,$0\le A,B,C,K\le 100$。
对于 $20\%$ 的数据,$K=0$。
另有 $20\%$ 的数据,$B=C=0$。