結果

問題 No.676 C0nvertPr0b1em
ユーザー GodNegotoGodNegoto
提出日時 2019-11-27 14:36:43
言語 Java21
(openjdk 21)
結果
AC  
実行時間 140 ms / 2,000 ms
コード長 393 bytes
コンパイル時間 3,174 ms
コンパイル使用メモリ 74,672 KB
実行使用メモリ 54,476 KB
最終ジャッジ日時 2024-04-25 18:07:32
合計ジャッジ時間 8,170 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 128 ms
54,104 KB
testcase_01 AC 128 ms
53,896 KB
testcase_02 AC 115 ms
52,948 KB
testcase_03 AC 130 ms
54,208 KB
testcase_04 AC 117 ms
52,996 KB
testcase_05 AC 125 ms
54,152 KB
testcase_06 AC 127 ms
54,024 KB
testcase_07 AC 129 ms
54,320 KB
testcase_08 AC 112 ms
53,044 KB
testcase_09 AC 126 ms
54,036 KB
testcase_10 AC 129 ms
54,164 KB
testcase_11 AC 130 ms
54,324 KB
testcase_12 AC 114 ms
53,040 KB
testcase_13 AC 129 ms
54,476 KB
testcase_14 AC 123 ms
54,160 KB
testcase_15 AC 135 ms
54,108 KB
testcase_16 AC 127 ms
54,188 KB
testcase_17 AC 116 ms
52,868 KB
testcase_18 AC 126 ms
54,308 KB
testcase_19 AC 128 ms
54,104 KB
testcase_20 AC 140 ms
54,280 KB
testcase_21 AC 130 ms
54,136 KB
testcase_22 AC 133 ms
53,960 KB
testcase_23 AC 131 ms
54,288 KB
testcase_24 AC 127 ms
54,144 KB
testcase_25 AC 129 ms
54,188 KB
testcase_26 AC 126 ms
54,088 KB
testcase_27 AC 128 ms
54,316 KB
testcase_28 AC 125 ms
53,896 KB
testcase_29 AC 127 ms
54,172 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package algo;

import java.util.ArrayList;
import java.util.Scanner;

import java.util.*;

public class sample7 {

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