結果

問題 No.597 concat
ユーザー YamaKasaYamaKasa
提出日時 2018-05-08 20:29:38
言語 Java19
(openjdk 21)
結果
AC  
実行時間 128 ms / 2,000 ms
コード長 306 bytes
コンパイル時間 3,380 ms
コンパイル使用メモリ 74,728 KB
実行使用メモリ 55,956 KB
最終ジャッジ日時 2023-09-10 11:06:39
合計ジャッジ時間 4,853 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
55,956 KB
testcase_01 AC 128 ms
55,332 KB
testcase_02 AC 126 ms
55,680 KB
testcase_03 AC 126 ms
55,572 KB
testcase_04 AC 126 ms
55,672 KB
testcase_05 AC 128 ms
55,500 KB
testcase_06 AC 128 ms
55,484 KB
testcase_07 AC 126 ms
55,868 KB
testcase_08 AC 126 ms
55,904 KB
testcase_09 AC 126 ms
55,564 KB
testcase_10 AC 125 ms
55,888 KB
testcase_11 AC 127 ms
55,468 KB
testcase_12 AC 128 ms
55,840 KB
testcase_13 AC 128 ms
55,844 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

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