結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
55,660 KB
testcase_01 AC 126 ms
55,704 KB
testcase_02 AC 127 ms
53,680 KB
testcase_03 AC 127 ms
55,640 KB
testcase_04 AC 127 ms
55,500 KB
testcase_05 AC 127 ms
55,564 KB
testcase_06 AC 128 ms
55,620 KB
testcase_07 AC 126 ms
55,352 KB
testcase_08 AC 128 ms
53,472 KB
testcase_09 AC 129 ms
55,916 KB
testcase_10 AC 127 ms
55,772 KB
testcase_11 AC 128 ms
55,748 KB
testcase_12 AC 127 ms
55,664 KB
testcase_13 AC 127 ms
55,844 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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