結果

問題 No.2655 Increasing Strides
ユーザー ks2mks2m
提出日時 2024-03-01 21:26:43
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 283 bytes
コンパイル時間 1,906 ms
コンパイル使用メモリ 74,284 KB
実行使用メモリ 57,964 KB
最終ジャッジ日時 2024-03-01 21:26:53
合計ジャッジ時間 7,586 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
57,964 KB
testcase_01 AC 121 ms
57,832 KB
testcase_02 AC 128 ms
57,812 KB
testcase_03 AC 123 ms
57,696 KB
testcase_04 AC 117 ms
56,668 KB
testcase_05 AC 129 ms
57,700 KB
testcase_06 WA -
testcase_07 AC 132 ms
57,832 KB
testcase_08 AC 122 ms
57,576 KB
testcase_09 AC 119 ms
56,696 KB
testcase_10 AC 134 ms
57,580 KB
testcase_11 AC 120 ms
57,576 KB
testcase_12 AC 125 ms
57,844 KB
testcase_13 AC 123 ms
57,824 KB
testcase_14 WA -
testcase_15 AC 121 ms
57,880 KB
testcase_16 AC 114 ms
56,664 KB
testcase_17 AC 124 ms
55,880 KB
testcase_18 AC 130 ms
57,724 KB
testcase_19 AC 135 ms
57,824 KB
testcase_20 AC 124 ms
57,804 KB
testcase_21 AC 122 ms
57,832 KB
testcase_22 WA -
testcase_23 AC 121 ms
57,576 KB
testcase_24 AC 117 ms
56,672 KB
testcase_25 AC 124 ms
57,700 KB
testcase_26 WA -
testcase_27 AC 122 ms
57,556 KB
testcase_28 AC 136 ms
57,812 KB
testcase_29 AC 121 ms
57,580 KB
testcase_30 AC 123 ms
55,872 KB
testcase_31 AC 123 ms
57,832 KB
testcase_32 AC 123 ms
57,836 KB
testcase_33 AC 122 ms
57,820 KB
testcase_34 WA -
testcase_35 AC 124 ms
57,948 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 % 8 == 0) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}
}
0