結果

問題 No.2827 Enter User Name to Play
ユーザー kyotoku1483
提出日時 2025-03-25 17:14:37
言語 Rust
(1.83.0 + proconio)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 230 bytes
コンパイル時間 14,076 ms
コンパイル使用メモリ 377,916 KB
実行使用メモリ 5,888 KB
最終ジャッジ日時 2025-03-25 17:15:24
合計ジャッジ時間 14,397 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

#[allow(unused)]
use proconio::{input, marker::Chars};

fn main() {
    input! {
        n: usize,
        s: Chars,
        p: [usize; n],
    }
    let t = p.iter().map(|i| s[i - 1]).collect::<String>();
    println!("{}", t)
}
0