結果
| 問題 |
No.2056 非力なレッド
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-09-17 04:59:11 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 319 bytes |
| コンパイル時間 | 345 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 153,728 KB |
| 最終ジャッジ日時 | 2024-12-22 00:21:28 |
| 合計ジャッジ時間 | 23,367 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 23 WA * 9 TLE * 6 |
ソースコード
n, x, m = map(int, input().split())
a = list(map(int, input().split()))
a.insert(0, 0)
while True:
Min = min(n, m)
k = a.index(max(a))
if k <= Min:
for i in range(1, k+1):
a[i] = a[i] // 2
m = m - k
else:
break
if max(a) < x:
print("Yes")
else:
print("No")