結果
問題 | No.591 (^o^)/ |
ユーザー | Grenache |
提出日時 | 2017-11-10 23:09:29 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 131 ms / 2,000 ms |
コード長 | 605 bytes |
コンパイル時間 | 3,965 ms |
コンパイル使用メモリ | 75,492 KB |
実行使用メモリ | 54,260 KB |
最終ジャッジ日時 | 2024-11-24 16:26:14 |
合計ジャッジ時間 | 5,190 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
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); } } }