結果

問題 No.1070 Missing a space
ユーザー cra77756176
提出日時 2022-12-12 20:51:44
言語 Rust
(1.83.0 + proconio)
結果
AC  
実行時間 1 ms / 1,000 ms
コード長 149 bytes
コンパイル時間 13,220 ms
コンパイル使用メモリ 378,936 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-06 18:58:39
合計ジャッジ時間 14,118 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

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

    println!("{}", c.len() - c.matches('0').count() - 2);
}
0