結果

問題 No.676 C0nvertPr0b1em
ユーザー face4face4
提出日時 2018-04-27 22:22:25
言語 Java21
(openjdk 21)
結果
AC  
実行時間 52 ms / 2,000 ms
コード長 467 bytes
コンパイル時間 2,161 ms
コンパイル使用メモリ 71,036 KB
実行使用メモリ 50,212 KB
最終ジャッジ日時 2023-09-05 16:59:21
合計ジャッジ時間 4,643 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 49 ms
49,892 KB
testcase_01 AC 49 ms
50,212 KB
testcase_02 AC 50 ms
49,984 KB
testcase_03 AC 52 ms
49,644 KB
testcase_04 AC 52 ms
49,980 KB
testcase_05 AC 51 ms
49,644 KB
testcase_06 AC 51 ms
49,584 KB
testcase_07 AC 51 ms
49,904 KB
testcase_08 AC 51 ms
49,644 KB
testcase_09 AC 48 ms
49,648 KB
testcase_10 AC 51 ms
49,684 KB
testcase_11 AC 52 ms
49,652 KB
testcase_12 AC 52 ms
49,652 KB
testcase_13 AC 51 ms
49,952 KB
testcase_14 AC 49 ms
49,692 KB
testcase_15 AC 51 ms
50,040 KB
testcase_16 AC 51 ms
49,756 KB
testcase_17 AC 50 ms
49,676 KB
testcase_18 AC 49 ms
49,764 KB
testcase_19 AC 49 ms
49,768 KB
testcase_20 AC 50 ms
49,956 KB
testcase_21 AC 50 ms
49,892 KB
testcase_22 AC 52 ms
49,852 KB
testcase_23 AC 46 ms
49,688 KB
testcase_24 AC 47 ms
47,812 KB
testcase_25 AC 47 ms
50,152 KB
testcase_26 AC 47 ms
49,688 KB
testcase_27 AC 47 ms
49,568 KB
testcase_28 AC 48 ms
49,572 KB
testcase_29 AC 48 ms
49,684 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;

class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        s = s.replaceAll("I", "1");
        s = s.replaceAll("l", "1");
        s = s.replaceAll("O", "0");
        s = s.replaceAll("o", "0");
        System.out.println(s);
    }
}
0