結果
| 問題 |
No.597 concat
|
| コンテスト | |
| ユーザー |
thesis_or_die
|
| 提出日時 | 2017-11-24 22:22:53 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 125 ms / 2,000 ms |
| コード長 | 488 bytes |
| コンパイル時間 | 2,053 ms |
| コンパイル使用メモリ | 76,332 KB |
| 実行使用メモリ | 41,536 KB |
| 最終ジャッジ日時 | 2024-11-27 07:20:06 |
| 合計ジャッジ時間 | 4,189 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 |
ソースコード
import java.util.*;
import java.io.*;
public class Main{
public static void main(String[] args){
Main m = new Main();
m.input();
m.out();
}
int n;
String s;
public void input(){
Scanner sc = new Scanner(System.in);
n = sc.nextInt();
s = sc.next();
for(int i = 0; i < n - 1; i++){
s = s + sc.next();
}
sc.close();
}
public void out(){
System.out.println(s);
}
}
thesis_or_die