結果

問題 No.1070 Missing a space
ユーザー bluemeganebluemegane
提出日時 2020-06-05 22:34:21
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 54 ms / 1,000 ms
コード長 174 bytes
コンパイル時間 771 ms
コンパイル使用メモリ 63,024 KB
実行使用メモリ 22,608 KB
最終ジャッジ日時 2023-08-22 16:23:52
合計ジャッジ時間 2,074 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 52 ms
22,564 KB
testcase_01 AC 52 ms
18,500 KB
testcase_02 AC 51 ms
18,512 KB
testcase_03 AC 52 ms
20,444 KB
testcase_04 AC 54 ms
22,608 KB
testcase_05 AC 52 ms
20,532 KB
testcase_06 AC 54 ms
20,428 KB
testcase_07 AC 53 ms
20,420 KB
testcase_08 AC 53 ms
20,520 KB
testcase_09 AC 52 ms
20,600 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;

public class Hello
{
    static void Main()
    {
        var s = Console.ReadLine().Trim();
        Console.WriteLine(s.Replace("0", "").Length - 1);
    }
}
0