結果

問題 No.3029 素因数
ユーザー shinwisteriashinwisteria
提出日時 2017-04-01 00:25:52
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 262 bytes
コンパイル時間 4,917 ms
コンパイル使用メモリ 71,728 KB
実行使用メモリ 55,828 KB
最終ジャッジ日時 2023-09-21 21:00:34
合計ジャッジ時間 11,526 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
39,552 KB
testcase_01 AC 117 ms
39,140 KB
testcase_02 AC 117 ms
39,432 KB
testcase_03 AC 118 ms
39,748 KB
testcase_04 AC 118 ms
39,924 KB
testcase_05 AC 118 ms
39,416 KB
testcase_06 AC 117 ms
40,212 KB
testcase_07 AC 118 ms
39,508 KB
testcase_08 AC 119 ms
39,924 KB
testcase_09 AC 117 ms
39,752 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 120 ms
39,784 KB
testcase_13 AC 120 ms
39,688 KB
testcase_14 AC 120 ms
40,304 KB
testcase_15 AC 118 ms
55,828 KB
testcase_16 AC 119 ms
40,040 KB
testcase_17 AC 118 ms
39,428 KB
testcase_18 WA -
testcase_19 AC 118 ms
40,080 KB
testcase_20 WA -
testcase_21 AC 119 ms
39,456 KB
testcase_22 AC 119 ms
39,900 KB
testcase_23 AC 121 ms
40,440 KB
testcase_24 WA -
testcase_25 AC 118 ms
39,448 KB
testcase_26 AC 121 ms
39,772 KB
testcase_27 WA -
testcase_28 WA -
testcase_29 AC 119 ms
39,336 KB
testcase_30 WA -
testcase_31 AC 121 ms
39,948 KB
testcase_32 AC 120 ms
39,928 KB
testcase_33 AC 122 ms
40,020 KB
testcase_34 AC 121 ms
39,104 KB
testcase_35 AC 122 ms
39,612 KB
testcase_36 AC 120 ms
39,920 KB
testcase_37 AC 119 ms
39,152 KB
testcase_38 WA -
testcase_39 AC 118 ms
39,156 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Soinsu {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int M = s.nextInt();
		s.close();
		if(M%2 == 0){
			System.out.println("odd");
		}else{
			System.out.println("even");
		}
	}

}
0