結果
| 問題 |
No.2056 非力なレッド
|
| コンテスト | |
| ユーザー |
SidewaysOwl
|
| 提出日時 | 2022-08-26 21:28:09 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 118 ms / 2,000 ms |
| コード長 | 240 bytes |
| コンパイル時間 | 227 ms |
| コンパイル使用メモリ | 82,020 KB |
| 実行使用メモリ | 102,400 KB |
| 最終ジャッジ日時 | 2024-10-13 21:53:04 |
| 合計ジャッジ時間 | 4,466 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 38 |
ソースコード
n,x,m = map(int,input().split())
a = list(map(int,input().split()))
ans = "Yes"
for i in range(n):
cnt = 0
j = a[i]
while j >= x:
cnt += 1
j >>= 1
# print(cnt,i+1)
if cnt * (i+1) > m:ans = "No"
print(ans)
SidewaysOwl