結果
問題 |
No.676 C0nvertPr0b1em
|
ユーザー |
|
提出日時 | 2018-05-17 15:57:08 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 274 bytes |
コンパイル時間 | 815 ms |
コンパイル使用メモリ | 100,684 KB |
実行使用メモリ | 22,528 KB |
最終ジャッジ日時 | 2024-06-23 12:46:25 |
合計ジャッジ時間 | 3,587 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 WA * 25 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
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"),"[lL]","1"); Console.WriteLine(result); } }