結果

問題 No.597 concat
ユーザー kohaku_kohakukohaku_kohaku
提出日時 2018-04-14 15:51:30
言語 Java19
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 340 bytes
コンパイル時間 3,011 ms
コンパイル使用メモリ 72,172 KB
実行使用メモリ 55,988 KB
最終ジャッジ日時 2023-09-09 05:09:02
合計ジャッジ時間 5,168 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
53,568 KB
testcase_01 AC 123 ms
55,776 KB
testcase_02 AC 124 ms
55,712 KB
testcase_03 AC 123 ms
55,460 KB
testcase_04 AC 125 ms
55,692 KB
testcase_05 AC 122 ms
55,684 KB
testcase_06 AC 125 ms
55,456 KB
testcase_07 AC 124 ms
55,988 KB
testcase_08 AC 124 ms
55,724 KB
testcase_09 AC 125 ms
55,456 KB
testcase_10 AC 123 ms
55,600 KB
testcase_11 AC 125 ms
55,516 KB
testcase_12 AC 121 ms
55,444 KB
testcase_13 AC 123 ms
55,908 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        StringBuilder sb = new StringBuilder();
        int n = sc.nextInt();
        for(int i = 0; i < n; i++) {
            sb.append(sc.next());
        }
        System.out.println(sb.toString());
    }
}
0