結果
| 問題 |
No.597 concat
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-02-09 12:41:09 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 347 bytes |
| コンパイル時間 | 11,892 ms |
| コンパイル使用メモリ | 397,268 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-01 05:52:49 |
| 合計ジャッジ時間 | 12,579 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 |
ソースコード
use std::io::Read;
fn main() {
let mut all_data = String::new();
std::io::stdin().read_to_string(&mut all_data).ok();
let mut all_data = all_data.trim().split('\n').map(|s| s.trim());
let n: usize = all_data.next().unwrap().parse().unwrap();
all_data.take(n).for_each(|s| {
print!("{}", s);
});
println!("");
}