結果
| 問題 |
No.2671 NUPC Decompressor
|
| コンテスト | |
| ユーザー |
e4q2pfnq
|
| 提出日時 | 2024-03-15 21:45:06 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 43 ms / 2,000 ms |
| コード長 | 271 bytes |
| コンパイル時間 | 231 ms |
| コンパイル使用メモリ | 82,388 KB |
| 実行使用メモリ | 52,224 KB |
| 最終ジャッジ日時 | 2024-09-30 00:40:27 |
| 合計ジャッジ時間 | 1,562 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 |
ソースコード
import itertools
X = "NUPC"
All = []
for Z in itertools.product((1, 2), repeat=4):
T = []
for x, z in zip(X, Z):
T.append(x)
if z == 2:
T *= 2
All.append(T)
All.sort()
K = int(input()) - 1
print("".join(All[K]))
e4q2pfnq