結果
問題 | No.2671 NUPC Decompressor |
ユーザー |
![]() |
提出日時 | 2024-03-15 21:24:49 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 43 ms / 2,000 ms |
コード長 | 286 bytes |
コンパイル時間 | 202 ms |
コンパイル使用メモリ | 82,320 KB |
実行使用メモリ | 52,608 KB |
最終ジャッジ日時 | 2024-09-30 00:20:40 |
合計ジャッジ時間 | 1,408 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 |
ソースコード
import sysinput = lambda: sys.stdin.readline().strip()import bisectdef Map():return list(map(int,input().split()))S = 'NUPC'T = []for j in range(16):t = ''for i in range(4):t += S[i]if (j >> i) & 1:t += tT.append(t)T.sort()print(T[int(input())-1])