結果

問題 No.676 C0nvertPr0b1em
ユーザー tsunabittsunabit
提出日時 2018-07-29 14:00:50
言語 Java21
(openjdk 21)
結果
AC  
実行時間 119 ms / 2,000 ms
コード長 406 bytes
コンパイル時間 3,128 ms
コンパイル使用メモリ 72,980 KB
実行使用メモリ 56,668 KB
最終ジャッジ日時 2023-09-05 17:23:01
合計ジャッジ時間 7,814 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 114 ms
55,916 KB
testcase_01 AC 114 ms
56,076 KB
testcase_02 AC 117 ms
56,044 KB
testcase_03 AC 117 ms
56,092 KB
testcase_04 AC 116 ms
56,076 KB
testcase_05 AC 117 ms
56,276 KB
testcase_06 AC 116 ms
55,908 KB
testcase_07 AC 116 ms
55,936 KB
testcase_08 AC 116 ms
56,268 KB
testcase_09 AC 114 ms
55,528 KB
testcase_10 AC 117 ms
55,788 KB
testcase_11 AC 117 ms
56,028 KB
testcase_12 AC 117 ms
56,132 KB
testcase_13 AC 116 ms
56,376 KB
testcase_14 AC 114 ms
55,680 KB
testcase_15 AC 116 ms
55,692 KB
testcase_16 AC 114 ms
56,668 KB
testcase_17 AC 115 ms
56,040 KB
testcase_18 AC 116 ms
56,236 KB
testcase_19 AC 119 ms
55,876 KB
testcase_20 AC 115 ms
55,852 KB
testcase_21 AC 116 ms
55,688 KB
testcase_22 AC 116 ms
55,912 KB
testcase_23 AC 113 ms
56,092 KB
testcase_24 AC 113 ms
55,912 KB
testcase_25 AC 115 ms
55,956 KB
testcase_26 AC 115 ms
55,884 KB
testcase_27 AC 112 ms
55,576 KB
testcase_28 AC 113 ms
56,096 KB
testcase_29 AC 115 ms
56,104 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.util.stream.Stream;
import java.time.*;
import java.time.format.*;

public class No676 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
		String s = sc.next();
        s = s.replace("I" , "1");
        s = s.replace("l" , "1");
        s = s.replace("O" , "0");
        s = s.replace("o" , "0");
        System.out.println(s);
	}
}
0