結果

問題 No.597 concat
ユーザー jimanojimano
提出日時 2018-01-23 23:27:16
言語 Java21
(openjdk 21)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 524 bytes
コンパイル時間 3,316 ms
コンパイル使用メモリ 72,272 KB
実行使用メモリ 49,316 KB
最終ジャッジ日時 2023-08-26 23:57:15
合計ジャッジ時間 4,657 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
49,312 KB
testcase_01 AC 44 ms
49,192 KB
testcase_02 AC 42 ms
49,112 KB
testcase_03 AC 42 ms
49,128 KB
testcase_04 AC 43 ms
49,180 KB
testcase_05 AC 42 ms
49,220 KB
testcase_06 AC 44 ms
49,076 KB
testcase_07 AC 42 ms
49,316 KB
testcase_08 AC 43 ms
49,144 KB
testcase_09 AC 43 ms
49,140 KB
testcase_10 AC 43 ms
49,224 KB
testcase_11 AC 43 ms
49,204 KB
testcase_12 AC 42 ms
49,212 KB
testcase_13 AC 42 ms
49,240 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package me.yukicoder.lv1;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class No0597 {
	public static void main(String[] args) {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			int N = Integer.parseInt(br.readLine());
			StringBuilder sb = new StringBuilder();

			for (int i = 0; i < N; i++) {
				sb.append(br.readLine());
			}
			System.out.println(sb.toString());
		} catch (IOException e) {
			e.printStackTrace();
		}

	}
}
0