結果

問題 No.2922 Rose Garden
ユーザー loop0919loop0919
提出日時 2024-10-02 01:04:59
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 276 bytes
コンパイル時間 565 ms
コンパイル使用メモリ 82,560 KB
実行使用メモリ 106,396 KB
最終ジャッジ日時 2024-10-02 01:05:06
合計ジャッジ時間 7,227 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
84,692 KB
testcase_01 AC 62 ms
74,740 KB
testcase_02 AC 74 ms
83,904 KB
testcase_03 AC 96 ms
105,616 KB
testcase_04 AC 75 ms
84,864 KB
testcase_05 AC 71 ms
81,920 KB
testcase_06 AC 63 ms
73,344 KB
testcase_07 AC 88 ms
96,000 KB
testcase_08 AC 57 ms
67,072 KB
testcase_09 AC 90 ms
100,224 KB
testcase_10 WA -
testcase_11 AC 53 ms
65,536 KB
testcase_12 AC 76 ms
85,248 KB
testcase_13 AC 88 ms
92,544 KB
testcase_14 AC 53 ms
64,128 KB
testcase_15 AC 73 ms
82,560 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 AC 65 ms
79,744 KB
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
testcase_35 WA -
testcase_36 WA -
testcase_37 WA -
testcase_38 WA -
testcase_39 WA -
testcase_40 WA -
testcase_41 WA -
testcase_42 WA -
testcase_43 WA -
testcase_44 AC 92 ms
102,400 KB
testcase_45 WA -
testcase_46 WA -
testcase_47 WA -
testcase_48 WA -
testcase_49 WA -
testcase_50 AC 38 ms
52,352 KB
testcase_51 AC 38 ms
51,456 KB
testcase_52 AC 39 ms
51,880 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, S, B = map(int, input().split())
H = list(map(int, input().split()))

now_height = H[0]

for i in range(1, N):
    if now_height <= H[i]:
        pass
    elif now_height + B * S <= H[i]:
        now_height = H[i]
    else:
        print("No")
        exit()

print("Yes")
0