結果
問題 |
No.2827 Enter User Name to Play
|
ユーザー |
|
提出日時 | 2025-10-18 21:17:29 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 215 bytes |
コンパイル時間 | 12,898 ms |
コンパイル使用メモリ | 397,608 KB |
実行使用メモリ | 7,716 KB |
最終ジャッジ日時 | 2025-10-18 21:17:44 |
合計ジャッジ時間 | 13,724 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 |
ソースコード
use proconio::input; fn main() { input! { n: usize, s: String, a: [usize; n], } let ans: String = a.into_iter() .map(|i| s.chars().nth(i-1).unwrap()) .collect(); println!("{ans}"); }