結果
| 問題 |
No.2671 NUPC Decompressor
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-16 23:50:00 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 250 bytes |
| コンパイル時間 | 111 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-09-30 04:35:11 |
| 合計ジャッジ時間 | 1,080 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 WA * 8 |
ソースコード
K=int(input())
S=[]
from itertools import product
for s2,s4,s6,s8 in product(range(2),range(2),range(2),range(2)):
s="N"
if s2==1:s+=s
s+="U"
if s4==1:s+=s
s+="P"
if s6==1:s+=s
s+="C"
S.append(s)
S.sort()
print(S[K-1])