結果
| 問題 | 
                            No.2827 Enter User Name to Play
                             | 
                    
| コンテスト | |
| ユーザー | 
                             wgrape
                         | 
                    
| 提出日時 | 2024-10-22 16:47:04 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 53 ms / 2,000 ms | 
| コード長 | 119 bytes | 
| コンパイル時間 | 433 ms | 
| コンパイル使用メモリ | 82,216 KB | 
| 実行使用メモリ | 53,900 KB | 
| 最終ジャッジ日時 | 2024-10-22 16:47:07 | 
| 合計ジャッジ時間 | 2,928 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 22 | 
ソースコード
N = int(input())
S = list(input())
P = list(map(int,input().split()))
print("".join([S[P[i] - 1] for i in range(N)]))
            
            
            
        
            
wgrape