結果
問題 | No.2922 Rose Garden |
ユーザー |
![]() |
提出日時 | 2024-10-13 22:14:35 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 232 bytes |
コンパイル時間 | 528 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 107,524 KB |
最終ジャッジ日時 | 2024-10-13 22:14:43 |
合計ジャッジ時間 | 6,775 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 25 WA * 25 |
ソースコード
N,S,B = map(int, input().split())H = list(map(int,input().split()))for i in range(N-1):s = Swhile H[i]<H[i+1] and s>0:s -= 1H[i] += Bif H[i]<H[i+1]:print("No")exit()print("Yes")