結果

問題 No.1070 Missing a space
ユーザー boya978boya978
提出日時 2020-07-22 19:32:36
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 52 ms / 1,000 ms
コード長 212 bytes
コンパイル時間 4,310 ms
コンパイル使用メモリ 97,608 KB
実行使用メモリ 22,560 KB
最終ジャッジ日時 2023-09-03 21:23:47
合計ジャッジ時間 5,528 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 51 ms
22,544 KB
testcase_01 AC 51 ms
20,716 KB
testcase_02 AC 50 ms
18,396 KB
testcase_03 AC 50 ms
20,456 KB
testcase_04 AC 51 ms
22,540 KB
testcase_05 AC 51 ms
20,516 KB
testcase_06 AC 51 ms
20,624 KB
testcase_07 AC 52 ms
22,560 KB
testcase_08 AC 51 ms
20,452 KB
testcase_09 AC 49 ms
20,564 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
public class Hello{
    public static void Main(){
        
        string line = Console.ReadLine();
        Console.WriteLine(line.Length -(line.Length - line.Replace("0","").Length) -1);
    }
}
0