結果

問題 No.676 C0nvertPr0b1em
ユーザー uma-pinehill
提出日時 2018-05-17 16:00:35
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 66 ms / 2,000 ms
コード長 274 bytes
コンパイル時間 740 ms
コンパイル使用メモリ 101,248 KB
実行使用メモリ 22,528 KB
最終ジャッジ日時 2024-06-23 12:46:29
合計ジャッジ時間 3,556 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 30
権限があれば一括ダウンロードができます
コンパイルメッセージ
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