結果

問題 No.597 concat
ユーザー aikon_marimoaikon_marimo
提出日時 2018-01-30 23:42:20
言語 Java21
(openjdk 21)
結果
AC  
実行時間 132 ms / 2,000 ms
コード長 306 bytes
コンパイル時間 2,232 ms
コンパイル使用メモリ 73,304 KB
実行使用メモリ 56,044 KB
最終ジャッジ日時 2023-08-28 16:43:19
合計ジャッジ時間 5,034 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
55,736 KB
testcase_01 AC 127 ms
55,580 KB
testcase_02 AC 126 ms
55,740 KB
testcase_03 AC 126 ms
56,036 KB
testcase_04 AC 126 ms
55,260 KB
testcase_05 AC 127 ms
55,860 KB
testcase_06 AC 129 ms
56,036 KB
testcase_07 AC 132 ms
55,588 KB
testcase_08 AC 128 ms
55,964 KB
testcase_09 AC 128 ms
56,044 KB
testcase_10 AC 127 ms
55,800 KB
testcase_11 AC 127 ms
55,260 KB
testcase_12 AC 127 ms
55,928 KB
testcase_13 AC 129 ms
55,944 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder.No597;

import java.util.Scanner;

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