結果

問題 No.354 メルセンヌ素数
ユーザー mitsuomitsuo
提出日時 2016-05-04 12:38:04
言語 Java21
(openjdk 21)
結果
AC  
実行時間 123 ms / 1,000 ms
コード長 281 bytes
コンパイル時間 2,034 ms
コンパイル使用メモリ 74,264 KB
実行使用メモリ 54,224 KB
最終ジャッジ日時 2024-04-10 00:15:45
合計ジャッジ時間 4,484 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
53,884 KB
testcase_01 AC 123 ms
54,116 KB
testcase_02 AC 111 ms
52,748 KB
testcase_03 AC 121 ms
53,932 KB
testcase_04 AC 120 ms
54,192 KB
testcase_05 AC 121 ms
54,224 KB
testcase_06 AC 120 ms
53,908 KB
testcase_07 AC 122 ms
54,104 KB
testcase_08 AC 109 ms
53,032 KB
testcase_09 AC 121 ms
53,984 KB
testcase_10 AC 122 ms
53,892 KB
testcase_11 AC 122 ms
53,864 KB
testcase_12 AC 123 ms
54,048 KB
testcase_13 AC 112 ms
52,652 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String input;
		if (args.length == 0) {
			input = sc.nextLine();
		} else {
			input = args[0];
		}

		System.out.println(input);

		sc.close();
	}
}
0