結果
問題 | No.591 (^o^)/ |
ユーザー | denderaKawazu |
提出日時 | 2018-02-14 16:45:21 |
言語 | Java21 (openjdk 21) |
結果 |
AC
|
実行時間 | 114 ms / 2,000 ms |
コード長 | 831 bytes |
コンパイル時間 | 2,040 ms |
コンパイル使用メモリ | 71,620 KB |
実行使用メモリ | 56,040 KB |
最終ジャッジ日時 | 2023-08-23 12:38:10 |
合計ジャッジ時間 | 3,675 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 112 ms
55,796 KB |
testcase_01 | AC | 113 ms
55,640 KB |
testcase_02 | AC | 114 ms
55,848 KB |
testcase_03 | AC | 114 ms
56,004 KB |
testcase_04 | AC | 113 ms
55,752 KB |
testcase_05 | AC | 113 ms
55,516 KB |
testcase_06 | AC | 114 ms
53,656 KB |
testcase_07 | AC | 113 ms
55,976 KB |
testcase_08 | AC | 112 ms
56,040 KB |
testcase_09 | AC | 112 ms
55,756 KB |
ソースコード
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Scanner; /** * Built using CHelper plug-in * Actual solution is at the top */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; Scanner in = new Scanner(inputStream); PrintWriter out = new PrintWriter(outputStream); Task solver = new Task(); solver.solve(1, in, out); out.close(); } static class Task { public void solve(int testNumber, Scanner in, PrintWriter out) { String eye = in.next(); String mouth = in.next(); out.println(String.format("(%s%s%s)/", eye, mouth, eye)); } } }