結果

問題 No.676 C0nvertPr0b1em
ユーザー kmtrc130kmtrc130
提出日時 2019-03-15 15:49:18
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 101 ms / 2,000 ms
コード長 400 bytes
コンパイル時間 1,844 ms
コンパイル使用メモリ 99,652 KB
実行使用メモリ 26,448 KB
最終ジャッジ日時 2023-09-14 12:19:43
合計ジャッジ時間 6,488 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 100 ms
24,428 KB
testcase_01 AC 99 ms
26,280 KB
testcase_02 AC 101 ms
24,308 KB
testcase_03 AC 100 ms
24,636 KB
testcase_04 AC 99 ms
24,204 KB
testcase_05 AC 99 ms
26,256 KB
testcase_06 AC 99 ms
24,320 KB
testcase_07 AC 100 ms
22,260 KB
testcase_08 AC 99 ms
26,448 KB
testcase_09 AC 98 ms
24,296 KB
testcase_10 AC 99 ms
24,360 KB
testcase_11 AC 100 ms
24,236 KB
testcase_12 AC 100 ms
24,256 KB
testcase_13 AC 100 ms
24,364 KB
testcase_14 AC 98 ms
24,276 KB
testcase_15 AC 99 ms
24,436 KB
testcase_16 AC 98 ms
22,176 KB
testcase_17 AC 100 ms
26,380 KB
testcase_18 AC 100 ms
24,232 KB
testcase_19 AC 99 ms
24,416 KB
testcase_20 AC 101 ms
24,360 KB
testcase_21 AC 99 ms
22,412 KB
testcase_22 AC 99 ms
24,212 KB
testcase_23 AC 94 ms
24,504 KB
testcase_24 AC 99 ms
26,272 KB
testcase_25 AC 98 ms
24,288 KB
testcase_26 AC 98 ms
24,300 KB
testcase_27 AC 99 ms
24,284 KB
testcase_28 AC 99 ms
26,212 KB
testcase_29 AC 99 ms
24,332 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Text.RegularExpressions;

class Program
{
    public void Solve()
    {
        string S = Console.ReadLine();

        string repString = Regex.Replace(S, "(I|l)", "1");
        repString = Regex.Replace(repString, "(O|o)", "0");
        Console.WriteLine(repString);
    }

    static void Main()
    {
        var solver = new Program();
        solver.Solve();
    }
}
0