結果

問題 No.591 (^o^)/
ユーザー GrenacheGrenache
提出日時 2017-11-10 23:09:29
言語 Java19
(openjdk 21)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 605 bytes
コンパイル時間 4,503 ms
コンパイル使用メモリ 72,188 KB
実行使用メモリ 56,168 KB
最終ジャッジ日時 2023-08-16 06:05:54
合計ジャッジ時間 6,089 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
55,700 KB
testcase_01 AC 126 ms
55,916 KB
testcase_02 AC 126 ms
55,404 KB
testcase_03 AC 125 ms
55,488 KB
testcase_04 AC 126 ms
55,732 KB
testcase_05 AC 124 ms
55,660 KB
testcase_06 AC 125 ms
55,968 KB
testcase_07 AC 124 ms
56,168 KB
testcase_08 AC 125 ms
55,852 KB
testcase_09 AC 125 ms
55,704 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;


public class Main_yukicoder591 {

	private static Scanner sc;
	private static Printer pr;

	private static void solve() {
		char[] t1 = sc.next().toCharArray();
		char[] t2 = sc.next().toCharArray();

		pr.printf("(%c%c%c)/\n", t1[0], t2[0], t1[0]);
	}

	// ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		pr = new Printer(System.out);

		solve();

		pr.close();
		sc.close();
	}

	private static class Printer extends PrintWriter {
		Printer(PrintStream out) {
			super(out);
		}
	}
}
0