結果

問題 No.725 木は明らかに森である
ユーザー Ryota EnokidoRyota Enokido
提出日時 2018-12-13 21:37:28
言語 Java21
(openjdk 21)
結果
AC  
実行時間 134 ms / 2,000 ms
コード長 381 bytes
コンパイル時間 2,259 ms
コンパイル使用メモリ 74,652 KB
実行使用メモリ 57,640 KB
最終ジャッジ日時 2023-10-25 09:35:56
合計ジャッジ時間 4,219 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 134 ms
57,052 KB
testcase_01 AC 133 ms
57,604 KB
testcase_02 AC 132 ms
57,172 KB
testcase_03 AC 132 ms
57,204 KB
testcase_04 AC 133 ms
57,360 KB
testcase_05 AC 134 ms
57,640 KB
testcase_06 AC 131 ms
57,132 KB
testcase_07 AC 133 ms
57,204 KB
testcase_08 AC 133 ms
57,180 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
import java.lang.Math;
import java.lang.StringBuilder;
import java.util.regex.Pattern;
import java.util.Arrays;


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