結果

問題 No.676 C0nvertPr0b1em
ユーザー youthfuldays072
提出日時 2018-06-22 17:41:24
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 313 bytes
コンパイル時間 1,949 ms
コンパイル使用メモリ 74,108 KB
実行使用メモリ 41,508 KB
最終ジャッジ日時 2024-06-23 12:50:09
合計ジャッジ時間 6,663 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 5 WA * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main{

	public static void main(String[] args) {
		Main main=new Main();
		main.run();
	}

	void run() {

		Scanner sc=new Scanner(System.in);

		String str=sc.next();


		str=str.replaceAll("[lL]","1");
		str=str.replaceAll("[Oo]","0");

		System.out.println(str);
	}
}


0