結果

問題 No.591 (^o^)/
ユーザー YOSHIYOSHI
提出日時 2021-03-20 19:08:27
言語 Java21
(openjdk 21)
結果
AC  
実行時間 52 ms / 2,000 ms
コード長 511 bytes
コンパイル時間 2,927 ms
コンパイル使用メモリ 74,516 KB
実行使用メモリ 50,420 KB
最終ジャッジ日時 2024-05-01 06:16:23
合計ジャッジ時間 3,995 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 52 ms
50,276 KB
testcase_01 AC 51 ms
50,212 KB
testcase_02 AC 52 ms
50,136 KB
testcase_03 AC 50 ms
49,972 KB
testcase_04 AC 50 ms
50,268 KB
testcase_05 AC 51 ms
49,900 KB
testcase_06 AC 50 ms
50,308 KB
testcase_07 AC 51 ms
50,012 KB
testcase_08 AC 50 ms
50,240 KB
testcase_09 AC 51 ms
50,420 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class No00000591_Main {
	static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	public static void main(String[] args) throws IOException {
		StringBuilder b = new StringBuilder("(^o^)/");
		char t1 = br.readLine().toCharArray()[0];
		char t2 = br.readLine().toCharArray()[0];
		b.setCharAt(1, t1);
		b.setCharAt(3, t1);
		b.setCharAt(2, t2);
		System.out.println(b.toString());
	}
}
0