結果
| 問題 |
No.2399 This Is Truly Final Edition
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-05-09 13:02:51 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 266 bytes |
| コンパイル時間 | 14,956 ms |
| コンパイル使用メモリ | 388,308 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-16 02:19:35 |
| 合計ジャッジ時間 | 14,513 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 |
ソースコード
use std::io::Read;
fn main() {
let mut s = String::new();
std::io::stdin().read_to_string(&mut s).ok();
let mut s: Vec<_> = s.split_whitespace().collect();
(1..s.pop().unwrap().parse::<u8>().unwrap()).for_each(|_| s.push(s[1]));
println!("{}", s.join("_"));
}