結果
| 問題 | No.1469 programing |
| コンテスト | |
| ユーザー |
fukafukatani
|
| 提出日時 | 2021-04-09 21:21:43 |
| 言語 | Rust (1.94.0 + proconio + num + itertools) |
| 結果 |
AC
|
| 実行時間 | 27 ms / 3,000 ms |
| + 275µs | |
| コード長 | 309 bytes |
| 記録 | |
| コンパイル時間 | 501 ms |
| コンパイル使用メモリ | 183,024 KB |
| 実行使用メモリ | 31,312 KB |
| 最終ジャッジ日時 | 2026-07-29 14:59:18 |
| 合計ジャッジ時間 | 2,086 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
fn main() {
let mut s = read::<String>().chars().collect::<Vec<_>>();
s.dedup();
let s = s.iter().collect::<String>();
println!("{}", s);
}
fn read<T: std::str::FromStr>() -> T {
let mut s = String::new();
std::io::stdin().read_line(&mut s).ok();
s.trim().parse().ok().unwrap()
}
fukafukatani