結果

問題 No.591 (^o^)/
ユーザー GrenacheGrenache
提出日時 2017-11-10 23:09:29
言語 Java21
(openjdk 21)
結果
AC  
実行時間 117 ms / 2,000 ms
コード長 605 bytes
コンパイル時間 2,823 ms
コンパイル使用メモリ 74,804 KB
実行使用メモリ 41,448 KB
最終ジャッジ日時 2024-05-03 15:13:01
合計ジャッジ時間 4,443 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 98 ms
39,860 KB
testcase_01 AC 113 ms
41,228 KB
testcase_02 AC 115 ms
41,252 KB
testcase_03 AC 93 ms
40,048 KB
testcase_04 AC 95 ms
39,748 KB
testcase_05 AC 104 ms
40,208 KB
testcase_06 AC 117 ms
41,356 KB
testcase_07 AC 106 ms
41,076 KB
testcase_08 AC 107 ms
41,448 KB
testcase_09 AC 107 ms
41,128 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