結果
| 問題 |
No.566 だいたい完全二分木
|
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2021-03-11 17:49:01 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 141 bytes |
| コンパイル時間 | 642 ms |
| コンパイル使用メモリ | 82,640 KB |
| 実行使用メモリ | 74,900 KB |
| 最終ジャッジ日時 | 2024-10-13 05:46:10 |
| 合計ジャッジ時間 | 3,123 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 11 |
ソースコード
def f(x):
c = bin(x)[2:]
c = "0"*(k-len(c)) + c
return int(c[::-1],2)
k = int(input())
print(*[f(i) for i in range(1,2**k)])
convexineq