結果

問題 No.597 concat
ユーザー sudo_yumsudo_yum
提出日時 2018-05-25 13:02:19
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 2,000 ms
コード長 313 bytes
コンパイル時間 2,029 ms
コンパイル使用メモリ 73,012 KB
実行使用メモリ 56,160 KB
最終ジャッジ日時 2023-09-11 03:24:24
合計ジャッジ時間 4,924 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
53,936 KB
testcase_01 AC 126 ms
55,688 KB
testcase_02 AC 125 ms
55,752 KB
testcase_03 AC 125 ms
56,024 KB
testcase_04 AC 126 ms
53,680 KB
testcase_05 AC 126 ms
56,100 KB
testcase_06 AC 125 ms
55,916 KB
testcase_07 AC 127 ms
56,160 KB
testcase_08 AC 127 ms
55,808 KB
testcase_09 AC 123 ms
55,408 KB
testcase_10 AC 126 ms
55,996 KB
testcase_11 AC 125 ms
55,612 KB
testcase_12 AC 124 ms
56,044 KB
testcase_13 AC 125 ms
56,024 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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