結果
| 問題 | No.3035 文字列のみの反転 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-02-28 21:36:47 |
| 言語 | Rust (1.94.0 + proconio + num + itertools) |
| 結果 |
AC
|
| 実行時間 | 0 ms / 2,000 ms |
| コード長 | 266 bytes |
| 記録 | |
| コンパイル時間 | 1,206 ms |
| コンパイル使用メモリ | 193,556 KB |
| 実行使用メモリ | 9,228 KB |
| 最終ジャッジ日時 | 2026-07-06 11:54:18 |
| 合計ジャッジ時間 | 2,637 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
use proconio::{input, marker::Chars};
fn main() {
input! {
s: Chars,
}
let a: String = s.iter().filter(|&&x| x.is_alphabetic()).rev().collect();
let b: String = s.iter().filter(|&&x| x.is_numeric()).collect();
println!("{}{}", a, b);
}