結果

問題 No.3075 114101097100032118101114116105099097108108121
ユーザー ks2mks2m
提出日時 2021-04-01 22:32:12
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 236 bytes
コンパイル時間 1,908 ms
コンパイル使用メモリ 71,276 KB
実行使用メモリ 56,384 KB
最終ジャッジ日時 2023-08-23 06:26:24
合計ジャッジ時間 4,260 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 118 ms
55,816 KB
testcase_02 WA -
testcase_03 AC 119 ms
56,248 KB
testcase_04 WA -
testcase_05 AC 119 ms
55,800 KB
testcase_06 WA -
testcase_07 AC 119 ms
56,072 KB
testcase_08 WA -
testcase_09 AC 117 ms
55,648 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		sc.close();

		System.out.println(s.replaceAll("41", "3"));
	}
}
0