結果
| 問題 |
No.2671 NUPC Decompressor
|
| コンテスト | |
| ユーザー |
Kude
|
| 提出日時 | 2024-03-15 21:22:48 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 39 ms / 2,000 ms |
| コード長 | 161 bytes |
| コンパイル時間 | 229 ms |
| コンパイル使用メモリ | 82,980 KB |
| 実行使用メモリ | 52,352 KB |
| 最終ジャッジ日時 | 2024-09-30 00:18:55 |
| 合計ジャッジ時間 | 1,522 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 |
ソースコード
d = ['']
for c in 'NUPC':
nd = []
for s in d:
s += c
nd.append(s)
nd.append(s + s)
d = nd
d.sort()
print(d[int(input()) - 1])
Kude