結果
問題 | No.2922 Rose Garden |
ユーザー | hirayuu_yc |
提出日時 | 2024-09-29 10:33:32 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 200 bytes |
コンパイル時間 | 381 ms |
コンパイル使用メモリ | 82,124 KB |
実行使用メモリ | 107,888 KB |
最終ジャッジ日時 | 2024-09-29 10:36:05 |
合計ジャッジ時間 | 8,751 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 120 ms
88,960 KB |
testcase_01 | AC | 83 ms
77,952 KB |
testcase_02 | AC | 206 ms
89,728 KB |
testcase_03 | AC | 226 ms
107,392 KB |
testcase_04 | AC | 188 ms
89,984 KB |
testcase_05 | AC | 116 ms
87,552 KB |
testcase_06 | AC | 118 ms
77,056 KB |
testcase_07 | AC | 296 ms
100,736 KB |
testcase_08 | AC | 101 ms
69,376 KB |
testcase_09 | AC | 139 ms
103,552 KB |
testcase_10 | AC | 56 ms
72,704 KB |
testcase_11 | AC | 105 ms
69,504 KB |
testcase_12 | AC | 111 ms
88,704 KB |
testcase_13 | AC | 184 ms
97,920 KB |
testcase_14 | AC | 75 ms
67,968 KB |
testcase_15 | AC | 295 ms
90,112 KB |
testcase_16 | AC | 218 ms
97,024 KB |
testcase_17 | AC | 208 ms
104,448 KB |
testcase_18 | AC | 70 ms
63,232 KB |
testcase_19 | AC | 215 ms
83,328 KB |
testcase_20 | AC | 267 ms
94,940 KB |
testcase_21 | AC | 290 ms
104,448 KB |
testcase_22 | AC | 73 ms
88,704 KB |
testcase_23 | AC | 106 ms
100,924 KB |
testcase_24 | AC | 83 ms
67,840 KB |
testcase_25 | AC | 73 ms
85,120 KB |
testcase_26 | AC | 349 ms
94,848 KB |
testcase_27 | AC | 332 ms
97,572 KB |
testcase_28 | AC | 113 ms
94,720 KB |
testcase_29 | AC | 304 ms
92,544 KB |
testcase_30 | AC | 48 ms
61,952 KB |
testcase_31 | AC | 47 ms
60,416 KB |
testcase_32 | AC | 55 ms
61,056 KB |
testcase_33 | AC | 44 ms
59,392 KB |
testcase_34 | AC | 50 ms
62,464 KB |
testcase_35 | AC | 51 ms
61,184 KB |
testcase_36 | AC | 74 ms
63,744 KB |
testcase_37 | AC | 47 ms
65,280 KB |
testcase_38 | AC | 49 ms
61,184 KB |
testcase_39 | AC | 63 ms
63,872 KB |
testcase_40 | WA | - |
testcase_41 | WA | - |
testcase_42 | WA | - |
testcase_43 | WA | - |
testcase_44 | WA | - |
testcase_45 | WA | - |
testcase_46 | WA | - |
testcase_47 | WA | - |
testcase_48 | WA | - |
testcase_49 | WA | - |
testcase_50 | AC | 38 ms
51,456 KB |
testcase_51 | WA | - |
testcase_52 | AC | 37 ms
51,616 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")