結果

問題 No.597 concat
ユーザー matsuyoshi30matsuyoshi30
提出日時 2018-05-08 21:51:51
言語 Java21
(openjdk 21)
結果
AC  
実行時間 135 ms / 2,000 ms
コード長 322 bytes
コンパイル時間 2,208 ms
コンパイル使用メモリ 74,060 KB
実行使用メモリ 41,472 KB
最終ジャッジ日時 2024-06-28 02:32:19
合計ジャッジ時間 4,804 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 129 ms
41,068 KB
testcase_01 AC 121 ms
40,292 KB
testcase_02 AC 132 ms
41,320 KB
testcase_03 AC 133 ms
41,316 KB
testcase_04 AC 131 ms
41,292 KB
testcase_05 AC 131 ms
41,276 KB
testcase_06 AC 132 ms
41,136 KB
testcase_07 AC 130 ms
41,088 KB
testcase_08 AC 132 ms
41,264 KB
testcase_09 AC 135 ms
41,428 KB
testcase_10 AC 133 ms
41,116 KB
testcase_11 AC 134 ms
41,472 KB
testcase_12 AC 132 ms
41,232 KB
testcase_13 AC 133 ms
41,296 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