結果
| 問題 |
No.2827 Enter User Name to Play
|
| コンテスト | |
| ユーザー |
naut3
|
| 提出日時 | 2024-08-02 21:21:50 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 361 bytes |
| コンパイル時間 | 13,835 ms |
| コンパイル使用メモリ | 409,544 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-08-02 21:22:13 |
| 合計ジャッジ時間 | 14,975 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
#![allow(non_snake_case)]
#[allow(unused_imports)]
use proconio::{fastout, input, marker::*};
#[fastout]
fn main() {
input! {
N: usize,
S: Chars,
T: [Usize1; N],
}
let a = T.iter().map(|&i| S[i]).collect::<Vec<_>>();
println!(
"{}",
a.iter().map(|x| x.to_string()).collect::<Vec<_>>().join("")
);
}
naut3