結果

問題 No.2655 Increasing Strides
ユーザー ks2mks2m
提出日時 2024-03-01 21:25:26
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 292 bytes
コンパイル時間 4,868 ms
コンパイル使用メモリ 74,304 KB
実行使用メモリ 58,092 KB
最終ジャッジ日時 2024-03-01 21:25:37
合計ジャッジ時間 10,534 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
56,672 KB
testcase_01 AC 124 ms
57,584 KB
testcase_02 AC 125 ms
57,580 KB
testcase_03 AC 122 ms
57,964 KB
testcase_04 AC 124 ms
57,576 KB
testcase_05 AC 123 ms
57,688 KB
testcase_06 WA -
testcase_07 AC 128 ms
57,576 KB
testcase_08 AC 127 ms
56,792 KB
testcase_09 AC 123 ms
57,708 KB
testcase_10 AC 126 ms
57,692 KB
testcase_11 WA -
testcase_12 AC 123 ms
57,704 KB
testcase_13 AC 124 ms
57,796 KB
testcase_14 WA -
testcase_15 AC 126 ms
57,696 KB
testcase_16 AC 122 ms
57,568 KB
testcase_17 AC 112 ms
56,688 KB
testcase_18 AC 124 ms
57,948 KB
testcase_19 AC 120 ms
55,728 KB
testcase_20 WA -
testcase_21 AC 121 ms
57,812 KB
testcase_22 WA -
testcase_23 AC 124 ms
57,848 KB
testcase_24 AC 123 ms
57,832 KB
testcase_25 AC 121 ms
57,696 KB
testcase_26 WA -
testcase_27 AC 129 ms
56,692 KB
testcase_28 AC 125 ms
56,668 KB
testcase_29 AC 122 ms
57,692 KB
testcase_30 AC 128 ms
57,828 KB
testcase_31 WA -
testcase_32 AC 130 ms
57,576 KB
testcase_33 AC 125 ms
57,816 KB
testcase_34 WA -
testcase_35 AC 122 ms
57,696 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		sc.close();

		if (n > 4 && n % 4 == 0) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}
}
0