結果
問題 | No.2671 NUPC Decompressor |
ユーザー |
![]() |
提出日時 | 2024-03-15 21:23:57 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 37 ms / 2,000 ms |
コード長 | 240 bytes |
コンパイル時間 | 147 ms |
コンパイル使用メモリ | 81,912 KB |
実行使用メモリ | 53,520 KB |
最終ジャッジ日時 | 2024-09-30 00:19:56 |
合計ジャッジ時間 | 1,347 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 |
ソースコード
ans = [] NUPC = "NUPC" for s in range(16): temp = [] for i in range(4): temp.append(NUPC[i]) if (s >> i) & 1: temp = temp + temp ans.append("".join(temp)) ans.sort() K = int(input()) - 1 print(ans[K])