結果

問題 No.597 concat
ユーザー denderaKawazudenderaKawazu
提出日時 2018-02-13 23:24:02
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 2,000 ms
コード長 864 bytes
コンパイル時間 2,106 ms
コンパイル使用メモリ 71,884 KB
実行使用メモリ 56,168 KB
最終ジャッジ日時 2023-08-21 02:42:38
合計ジャッジ時間 4,844 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
55,928 KB
testcase_01 AC 124 ms
55,736 KB
testcase_02 AC 124 ms
55,800 KB
testcase_03 AC 127 ms
55,692 KB
testcase_04 AC 122 ms
55,412 KB
testcase_05 AC 125 ms
56,168 KB
testcase_06 AC 124 ms
56,156 KB
testcase_07 AC 125 ms
56,064 KB
testcase_08 AC 121 ms
55,608 KB
testcase_09 AC 123 ms
55,976 KB
testcase_10 AC 123 ms
56,052 KB
testcase_11 AC 123 ms
55,680 KB
testcase_12 AC 122 ms
55,956 KB
testcase_13 AC 124 ms
55,836 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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) {
            int n = in.nextInt();
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < n; i++) sb.append(in.next());
            out.println(sb);
        }

    }
}

0