結果

問題 No.676 C0nvertPr0b1em
ユーザー uma-pinehilluma-pinehill
提出日時 2018-05-17 16:00:35
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 99 ms / 2,000 ms
コード長 274 bytes
コンパイル時間 1,831 ms
コンパイル使用メモリ 100,196 KB
実行使用メモリ 26,428 KB
最終ジャッジ日時 2023-09-05 17:16:36
合計ジャッジ時間 5,900 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 96 ms
22,196 KB
testcase_01 AC 96 ms
24,212 KB
testcase_02 AC 96 ms
26,240 KB
testcase_03 AC 96 ms
24,376 KB
testcase_04 AC 96 ms
24,364 KB
testcase_05 AC 97 ms
26,244 KB
testcase_06 AC 95 ms
24,136 KB
testcase_07 AC 96 ms
24,252 KB
testcase_08 AC 96 ms
24,252 KB
testcase_09 AC 96 ms
22,148 KB
testcase_10 AC 99 ms
24,340 KB
testcase_11 AC 96 ms
24,152 KB
testcase_12 AC 96 ms
22,232 KB
testcase_13 AC 96 ms
26,160 KB
testcase_14 AC 96 ms
24,400 KB
testcase_15 AC 96 ms
26,428 KB
testcase_16 AC 97 ms
22,188 KB
testcase_17 AC 97 ms
24,484 KB
testcase_18 AC 98 ms
24,264 KB
testcase_19 AC 96 ms
24,368 KB
testcase_20 AC 97 ms
24,348 KB
testcase_21 AC 96 ms
26,332 KB
testcase_22 AC 97 ms
24,200 KB
testcase_23 AC 91 ms
22,252 KB
testcase_24 AC 97 ms
24,336 KB
testcase_25 AC 95 ms
24,224 KB
testcase_26 AC 95 ms
24,252 KB
testcase_27 AC 95 ms
26,224 KB
testcase_28 AC 94 ms
24,196 KB
testcase_29 AC 95 ms
26,400 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;

public class Program
{
    static void Main()
    {
        string s = Console.ReadLine();
        string result = Regex.Replace(Regex.Replace(s,"[oO]","0"),"[Il]","1");
        
        Console.WriteLine(result);
    }
}
0