結果

問題 No.597 concat
ユーザー matsuyoshi30matsuyoshi30
提出日時 2018-05-08 21:51:51
言語 Java21
(openjdk 21)
結果
AC  
実行時間 136 ms / 2,000 ms
コード長 322 bytes
コンパイル時間 2,056 ms
コンパイル使用メモリ 71,804 KB
実行使用メモリ 56,036 KB
最終ジャッジ日時 2023-09-10 11:08:56
合計ジャッジ時間 4,709 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
56,036 KB
testcase_01 AC 126 ms
55,896 KB
testcase_02 AC 125 ms
55,808 KB
testcase_03 AC 125 ms
55,540 KB
testcase_04 AC 126 ms
55,752 KB
testcase_05 AC 126 ms
55,908 KB
testcase_06 AC 127 ms
55,764 KB
testcase_07 AC 128 ms
55,716 KB
testcase_08 AC 127 ms
53,728 KB
testcase_09 AC 126 ms
55,936 KB
testcase_10 AC 129 ms
55,540 KB
testcase_11 AC 130 ms
55,760 KB
testcase_12 AC 135 ms
56,008 KB
testcase_13 AC 136 ms
55,840 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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