結果
問題 |
No.543 命題
|
ユーザー |
|
提出日時 | 2017-07-14 22:25:49 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 120 ms / 2,000 ms |
コード長 | 590 bytes |
コンパイル時間 | 3,144 ms |
コンパイル使用メモリ | 75,028 KB |
実行使用メモリ | 41,488 KB |
最終ジャッジ日時 | 2024-10-07 22:55:02 |
合計ジャッジ時間 | 4,102 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 |
ソースコード
import java.io.*; import java.util.*; public class Main_yukicoder543 { private static Scanner sc; private static Printer pr; private static void solve() { char[] a = sc.next().toCharArray(); char[] b = sc.next().toCharArray(); pr.printf("%c %c\n", b[0], a[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); } } }