結果
問題 | No.490 yukiソート |
ユーザー |
|
提出日時 | 2024-05-24 14:38:03 |
言語 | Rust (1.83.0 + proconio) |
結果 |
WA
|
実行時間 | - |
コード長 | 310 bytes |
コンパイル時間 | 13,680 ms |
コンパイル使用メモリ | 393,252 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-20 19:23:22 |
合計ジャッジ時間 | 15,051 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 13 WA * 21 |
ソースコード
use std::io::Read;fn main() {let mut s = String::new();std::io::stdin().read_to_string(&mut s).ok();let mut n: Vec<u64> =s.split_whitespace().skip(1).flat_map(str::parse).collect();n.sort();println!("{}",n.iter().map(|x| x.to_string()).collect::<Vec<String>>().join(" "));}