結果
| 問題 | No.2827 Enter User Name to Play |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-10-18 21:17:29 |
| 言語 | Rust (1.94.0 + proconio + num + itertools) |
| 結果 |
AC
|
| 実行時間 | 0 ms / 2,000 ms |
| + 802µs | |
| コード長 | 215 bytes |
| 記録 | |
| コンパイル時間 | 640 ms |
| コンパイル使用メモリ | 186,196 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-15 19:10:20 |
| 合計ジャッジ時間 | 2,460 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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}");
}