結果

問題 No.1070 Missing a space
ユーザー
提出日時 2024-04-25 18:01:32
言語 Rust
(1.83.0 + proconio)
結果
WA  
実行時間 -
コード長 160 bytes
コンパイル時間 13,507 ms
コンパイル使用メモリ 377,700 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-08 05:25:02
合計ジャッジ時間 14,361 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

fn main() {
    let mut c = String::new();
    std::io::stdin().read_line(&mut c).unwrap();

    println!("{}", c.chars().filter(|&c| c != '0').count() - 1);
}
0