結果
| 問題 | No.3419 Ars magna |
| コンテスト | |
| ユーザー |
teamcats
|
| 提出日時 | 2026-01-11 13:31:29 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 38 ms / 2,000 ms |
| コード長 | 125 bytes |
| 記録 | |
| コンパイル時間 | 202 ms |
| コンパイル使用メモリ | 82,280 KB |
| 実行使用メモリ | 53,400 KB |
| 最終ジャッジ日時 | 2026-01-11 13:31:53 |
| 合計ジャッジ時間 | 1,289 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
n = int(input())
s = input()
P = list(map(int, input().split()))
T = []
for i in P:
T.append(s[i - 1])
print("".join(T))
teamcats