結果
| 問題 | No.1469 programing |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-21 10:33:54 |
| 言語 | Rust (1.97.1 + proconio + num + itertools) |
| 結果 |
AC
|
| 実行時間 | 12 ms / 3,000 ms |
| + 576µs | |
| コード長 | 210 bytes |
| 記録 | |
| コンパイル時間 | 408 ms |
| コンパイル使用メモリ | 174,136 KB |
| 実行使用メモリ | 9,344 KB |
| 最終ジャッジ日時 | 2026-07-26 14:41:57 |
| 合計ジャッジ時間 | 2,380 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
fn main() {
let mut s = String::new();
std::io::stdin().read_line(&mut s).ok();
let (mut a, mut t) = (String::new(), ' ');
for c in s.chars() {
if c != t {
a.push(c);
}
t = c;
}
print!("{a}");
}