結果
問題 | No.597 concat |
ユーザー |
![]() |
提出日時 | 2017-12-03 22:47:16 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 137 ms / 2,000 ms |
コード長 | 328 bytes |
コンパイル時間 | 2,897 ms |
コンパイル使用メモリ | 75,152 KB |
実行使用メモリ | 41,828 KB |
最終ジャッジ日時 | 2024-11-28 14:54:32 |
合計ジャッジ時間 | 5,296 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
import java.io.IOException; import java.util.Scanner; public class Main { public static void main(String[] args) throws IOException { Scanner sc = new Scanner(System.in); StringBuilder sb = new StringBuilder(); for (int i = sc.nextInt(); 0 < i; i--) { sb.append(sc.next()); } System.out.print(sb.toString()); } }