結果
| 問題 | No.2056 非力なレッド |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-09-19 15:59:11 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 61 ms / 2,000 ms |
| + 299µs | |
| コード長 | 287 bytes |
| 記録 | |
| コンパイル時間 | 64 ms |
| コンパイル使用メモリ | 81,244 KB |
| 実行使用メモリ | 115,820 KB |
| 最終ジャッジ日時 | 2026-10-05 19:59:59 |
| 合計ジャッジ時間 | 4,486 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 38 |
ソースコード
n,x,m = map(int,input().split())
a = list(map(int,input().split()))
now = 0
left = m
for i in range(n)[::-1]:
ai = a[i]
for _ 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')