結果

問題 No.597 concat
ユーザー FfalconokeFfalconoke
提出日時 2017-12-08 18:12:40
言語 Java21
(openjdk 21)
結果
AC  
実行時間 120 ms / 2,000 ms
コード長 343 bytes
コンパイル時間 3,006 ms
コンパイル使用メモリ 71,804 KB
実行使用メモリ 56,224 KB
最終ジャッジ日時 2023-08-19 22:36:46
合計ジャッジ時間 5,539 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
55,712 KB
testcase_01 AC 117 ms
55,640 KB
testcase_02 AC 118 ms
56,016 KB
testcase_03 AC 117 ms
55,984 KB
testcase_04 AC 120 ms
56,224 KB
testcase_05 AC 117 ms
56,036 KB
testcase_06 AC 117 ms
55,800 KB
testcase_07 AC 118 ms
55,780 KB
testcase_08 AC 116 ms
56,012 KB
testcase_09 AC 118 ms
55,876 KB
testcase_10 AC 118 ms
56,132 KB
testcase_11 AC 118 ms
55,616 KB
testcase_12 AC 118 ms
56,060 KB
testcase_13 AC 117 ms
55,880 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class slove{
	public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		int N = stdIn.nextInt();
		String out;
		StringBuffer sb = new StringBuffer();
		for(int i = 0; i < N; i++){
			String S = stdIn.next();
			sb.append(S);
		}
		out = sb.toString();
		System.out.println(out);
	}
}
0