結果
| 問題 |
No.676 C0nvertPr0b1em
|
| コンテスト | |
| ユーザー |
youthfuldays072
|
| 提出日時 | 2018-06-22 17:43:47 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 136 ms / 2,000 ms |
| コード長 | 313 bytes |
| コンパイル時間 | 2,793 ms |
| コンパイル使用メモリ | 74,456 KB |
| 実行使用メモリ | 41,428 KB |
| 最終ジャッジ日時 | 2024-06-23 12:50:17 |
| 合計ジャッジ時間 | 6,872 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 30 |
ソースコード
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("[Il]","1");
str=str.replaceAll("[Oo]","0");
System.out.println(str);
}
}
youthfuldays072