結果

問題 No.725 木は明らかに森である
ユーザー GodNegotoGodNegoto
提出日時 2019-11-19 16:23:04
言語 Java21
(openjdk 21)
結果
AC  
実行時間 130 ms / 2,000 ms
コード長 229 bytes
コンパイル時間 3,300 ms
コンパイル使用メモリ 75,044 KB
実行使用メモリ 54,256 KB
最終ジャッジ日時 2024-04-14 09:50:50
合計ジャッジ時間 5,265 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 129 ms
53,908 KB
testcase_01 AC 129 ms
54,116 KB
testcase_02 AC 128 ms
54,180 KB
testcase_03 AC 130 ms
54,256 KB
testcase_04 AC 129 ms
54,188 KB
testcase_05 AC 116 ms
52,704 KB
testcase_06 AC 127 ms
54,228 KB
testcase_07 AC 127 ms
54,032 KB
testcase_08 AC 127 ms
54,088 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package algo;

import java.util.Scanner;

public class sample7 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		System.out.println(s.replace("treeone", "forest"));
	}
}
0