結果
| 問題 |
No.2056 非力なレッド
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-09-19 15:52:12 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 287 bytes |
| コンパイル時間 | 320 ms |
| コンパイル使用メモリ | 82,780 KB |
| 実行使用メモリ | 104,408 KB |
| 最終ジャッジ日時 | 2024-12-22 02:30:09 |
| 合計ジャッジ時間 | 4,692 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 28 WA * 10 |
ソースコード
n,m,x = map(int,input().split())
a = list(map(int,input().split()))
now = 0
left = m
for i in range(n)[::-1]:
ai = a[i]
for i in range(now):
ai //= 2
while left >= i+1 and ai >= x:
left -= i+1
now += 1
ai //= 2
if ai >= x:
print('No')
exit()
print('Yes')