結果
問題 | No.2671 NUPC Decompressor |
ユーザー |
|
提出日時 | 2024-03-18 15:04:18 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 30 ms / 2,000 ms |
コード長 | 206 bytes |
コンパイル時間 | 128 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-09-30 04:57:36 |
合計ジャッジ時間 | 1,208 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 |
ソースコード
K = int(input()) ans = [] S = 'NUPC' for i in range(2**4): tmp = '' for j in range(4): tmp += S[j] if i & 1<<j: tmp += tmp ans.append(tmp) ans.sort() print(ans[K-1])