結果

問題 No.597 concat
ユーザー GodNegotoGodNegoto
提出日時 2019-11-28 15:06:39
言語 Java21
(openjdk 21)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 295 bytes
コンパイル時間 2,917 ms
コンパイル使用メモリ 74,540 KB
実行使用メモリ 54,276 KB
最終ジャッジ日時 2024-04-29 06:25:45
合計ジャッジ時間 5,193 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 100 ms
52,984 KB
testcase_01 AC 103 ms
52,736 KB
testcase_02 AC 97 ms
52,592 KB
testcase_03 AC 100 ms
52,724 KB
testcase_04 AC 100 ms
52,824 KB
testcase_05 AC 129 ms
53,964 KB
testcase_06 AC 105 ms
52,912 KB
testcase_07 AC 109 ms
52,972 KB
testcase_08 AC 103 ms
52,848 KB
testcase_09 AC 108 ms
53,408 KB
testcase_10 AC 114 ms
54,276 KB
testcase_11 AC 109 ms
53,788 KB
testcase_12 AC 114 ms
53,956 KB
testcase_13 AC 124 ms
53,632 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package algo;

import java.util.*;

public class sample7 {

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