結果

問題 No.354 メルセンヌ素数
ユーザー fal_rndfal_rnd
提出日時 2017-09-29 23:19:13
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 1,000 ms
コード長 449 bytes
コンパイル時間 2,239 ms
コンパイル使用メモリ 78,740 KB
実行使用メモリ 55,864 KB
最終ジャッジ日時 2024-04-10 01:21:12
合計ジャッジ時間 4,774 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
54,108 KB
testcase_01 AC 122 ms
55,864 KB
testcase_02 AC 125 ms
54,148 KB
testcase_03 AC 124 ms
53,888 KB
testcase_04 AC 123 ms
54,052 KB
testcase_05 AC 122 ms
54,032 KB
testcase_06 AC 124 ms
53,896 KB
testcase_07 AC 125 ms
53,972 KB
testcase_08 AC 125 ms
54,092 KB
testcase_09 AC 123 ms
54,148 KB
testcase_10 AC 124 ms
54,272 KB
testcase_11 AC 125 ms
54,176 KB
testcase_12 AC 124 ms
54,136 KB
testcase_13 AC 124 ms
54,024 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
import java.util.stream.IntStream;

public class Main{
	static IntStream REPS(int v){return IntStream.range(0,v);}
	static IntStream REPS(int l,int r){return IntStream.rangeClosed(l,r);}
	static IntStream INS(int n){return REPS(n).map(i->getInt());}
	static Scanner s=new Scanner(System.in);
	static int getInt(){return Integer.parseInt(s.next());}

	public static void main(String[]$){
		System.out.println(getInt());
	}
}
0