結果

問題 No.597 concat
ユーザー fal_rndfal_rnd
提出日時 2018-01-05 22:59:06
言語 Java21
(openjdk 21)
結果
AC  
実行時間 130 ms / 2,000 ms
コード長 1,604 bytes
コンパイル時間 3,020 ms
コンパイル使用メモリ 80,216 KB
実行使用メモリ 39,936 KB
最終ジャッジ日時 2023-08-24 21:13:52
合計ジャッジ時間 5,810 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
39,508 KB
testcase_01 AC 122 ms
39,452 KB
testcase_02 AC 123 ms
39,520 KB
testcase_03 AC 124 ms
39,172 KB
testcase_04 AC 123 ms
39,428 KB
testcase_05 AC 122 ms
39,696 KB
testcase_06 AC 126 ms
39,536 KB
testcase_07 AC 126 ms
39,500 KB
testcase_08 AC 123 ms
39,936 KB
testcase_09 AC 125 ms
39,448 KB
testcase_10 AC 125 ms
39,732 KB
testcase_11 AC 130 ms
39,812 KB
testcase_12 AC 126 ms
39,244 KB
testcase_13 AC 126 ms
39,668 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Iterator;
import java.util.PrimitiveIterator;
import java.util.Scanner;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import java.util.stream.Stream;

class Main_Util{
	private void solve(){
		System.out.println(strs(gInt()).collect(Collectors.joining()));
	}

	public static void main(String[]$){
		new Main_Util().solve();
		System.out.flush();
	}

	static class System{
		private static final InputStream in=java.lang.System.in;
		private static final PrintWriter out=new PrintWriter(java.lang.System.out,false);
	}
	static Scanner s=new Scanner(System.in);

	static int gInt(){
		return s.nextInt();
	}
	static long gLong(){
		return s.nextLong();
	}
	static long gDouble(){
		return s.nextLong();
	}

	static Range rep(int i){
		return new Range(i);
	}
	static Range rep(int f,int t){
		return new Range(f,t);
	}
	static class Range implements Iterable<Integer>,PrimitiveIterator.OfInt{
		int from,to,c;
		Range(int from,int to){
			this.from=from;
			this.to=to;
			this.c=from;
		}
		Range(int n){
			this(0,n-1);
		}
		@Override
		public Iterator<Integer> iterator(){
			return this;
		}
		@Override
		public boolean hasNext(){
			return c<=to;
		}
		@Override
		public int nextInt(){
			return c++;
		}
	}

	static IntStream REPS(int v){
		return IntStream.range(0,v);
	}
	static IntStream REPS(int l,int r){
		return IntStream.rangeClosed(l,r);
	}

	static IntStream ints(int n){
		return REPS(n).map(i->gInt());
	}
	static Stream<String> strs(int n){
		return REPS(n).mapToObj(i->s.next());
	}
}
0