結果
問題 | No.2922 Rose Garden |
ユーザー | hirayuu_yc |
提出日時 | 2024-09-29 10:32:42 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 312 ms / 3,000 ms |
コード長 | 199 bytes |
コンパイル時間 | 157 ms |
コンパイル使用メモリ | 82,620 KB |
実行使用メモリ | 107,600 KB |
最終ジャッジ日時 | 2024-09-29 10:36:00 |
合計ジャッジ時間 | 7,937 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 117 ms
89,760 KB |
testcase_01 | AC | 72 ms
78,632 KB |
testcase_02 | AC | 187 ms
90,004 KB |
testcase_03 | AC | 203 ms
107,600 KB |
testcase_04 | AC | 168 ms
89,968 KB |
testcase_05 | AC | 103 ms
87,712 KB |
testcase_06 | AC | 103 ms
78,048 KB |
testcase_07 | AC | 259 ms
100,828 KB |
testcase_08 | AC | 90 ms
70,488 KB |
testcase_09 | AC | 126 ms
104,260 KB |
testcase_10 | AC | 49 ms
73,720 KB |
testcase_11 | AC | 92 ms
70,052 KB |
testcase_12 | AC | 99 ms
89,584 KB |
testcase_13 | AC | 174 ms
97,840 KB |
testcase_14 | AC | 68 ms
69,420 KB |
testcase_15 | AC | 266 ms
90,672 KB |
testcase_16 | AC | 204 ms
97,504 KB |
testcase_17 | AC | 191 ms
104,400 KB |
testcase_18 | AC | 61 ms
64,948 KB |
testcase_19 | AC | 193 ms
84,940 KB |
testcase_20 | AC | 236 ms
94,840 KB |
testcase_21 | AC | 260 ms
104,388 KB |
testcase_22 | AC | 66 ms
88,704 KB |
testcase_23 | AC | 90 ms
101,040 KB |
testcase_24 | AC | 71 ms
68,452 KB |
testcase_25 | AC | 64 ms
87,104 KB |
testcase_26 | AC | 312 ms
95,348 KB |
testcase_27 | AC | 295 ms
97,676 KB |
testcase_28 | AC | 103 ms
95,316 KB |
testcase_29 | AC | 272 ms
92,724 KB |
testcase_30 | AC | 44 ms
62,328 KB |
testcase_31 | AC | 41 ms
60,824 KB |
testcase_32 | AC | 47 ms
61,992 KB |
testcase_33 | AC | 39 ms
60,792 KB |
testcase_34 | AC | 47 ms
63,936 KB |
testcase_35 | AC | 42 ms
61,184 KB |
testcase_36 | AC | 63 ms
65,612 KB |
testcase_37 | AC | 40 ms
65,236 KB |
testcase_38 | AC | 40 ms
62,124 KB |
testcase_39 | AC | 53 ms
64,864 KB |
testcase_40 | AC | 208 ms
94,912 KB |
testcase_41 | AC | 52 ms
76,580 KB |
testcase_42 | AC | 127 ms
107,588 KB |
testcase_43 | AC | 75 ms
84,504 KB |
testcase_44 | AC | 112 ms
104,296 KB |
testcase_45 | AC | 60 ms
70,008 KB |
testcase_46 | AC | 86 ms
107,376 KB |
testcase_47 | AC | 74 ms
94,904 KB |
testcase_48 | AC | 48 ms
71,168 KB |
testcase_49 | AC | 83 ms
101,016 KB |
testcase_50 | AC | 32 ms
52,216 KB |
testcase_51 | AC | 32 ms
52,200 KB |
testcase_52 | AC | 32 ms
52,336 KB |
ソースコード
N,S,B=map(int,input().split()) H=list(map(int,input().split())) mx=H[0] for i in range(N): rest=H[i]-mx for j in range(S): rest-=B if rest>0: print("No") exit() mx=max(mx,H[i]) print("Yes")