五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊

AtCoder: New Scheme

2023-07-02 09:24 作者:您是打尖兒還是住店呢  | 我要投稿

Problem Statement

Given eight integers

S1,S2,…, and S8, print Yes if they satisfy all of the following three conditions, and No otherwise.

The sequence (S1,S2,…,S8) is monotonically non-decreasing. In other words,

S1≤S2≤?≤S8.S1,S2,…, and S8 are all between 100 and 675, inclusive.

S1,S2,…, and S8 are all multiples of 25.

Constraints 0≤Si ≤1000

All input values are integers.

Input

The input is given from Standard Input in the following format:

S1 S2 … S8

Output

Print the answer.


Sample Input 1

125 175 250 300 400 525 600 650

Sample Output 1

Yes

They satisfy all of the three conditions.


Sample Input 2

100 250 300 400 325 575 625 675

Sample Output 2

No

They violate the first condition because

S4>S5.


Sample Input 3

0 23 24 145 301 413 631 632

Sample Output 3

No

They violate the second and third conditions.

-----------------------------------------------------

Easy 題目,判斷所有所有是否滿足三個(gè)條件即可,只是3個(gè)條件分開寫一個(gè)函數(shù)即可;

下面是代碼:


AtCoder: New Scheme的評論 (共 條)

分享到微博請遵守國家法律
宝坻区| 宁河县| 冀州市| 肥东县| 淳安县| 沽源县| 龙里县| 陆丰市| 江陵县| 银川市| 旌德县| 长子县| 团风县| 石泉县| 肇源县| 阿克陶县| 甘南县| 承德市| 双鸭山市| 大港区| 柳河县| 涟源市| 察雅县| 五寨县| 襄城县| 光山县| 齐河县| 富宁县| 和政县| 娱乐| 呼图壁县| 韶关市| 越西县| 曲水县| 金阳县| 名山县| 江北区| 达州市| 甘孜县| 都江堰市| 邵东县|