結果

問題 No.1003 サイコロの実装 (1)
ユーザー pacicficdolphinpacicficdolphin
提出日時 2020-03-08 10:41:24
言語 Java21
(openjdk 21)
結果
AC  
実行時間 136 ms / 2,000 ms
コード長 245 bytes
コンパイル時間 4,440 ms
コンパイル使用メモリ 73,912 KB
実行使用メモリ 41,652 KB
最終ジャッジ日時 2024-04-24 13:11:45
合計ジャッジ時間 6,948 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 133 ms
41,172 KB
testcase_01 AC 133 ms
41,500 KB
testcase_02 AC 119 ms
40,304 KB
testcase_03 AC 134 ms
41,564 KB
testcase_04 AC 131 ms
41,456 KB
testcase_05 AC 132 ms
41,020 KB
testcase_06 AC 130 ms
41,176 KB
testcase_07 AC 133 ms
41,480 KB
testcase_08 AC 133 ms
41,104 KB
testcase_09 AC 134 ms
41,188 KB
testcase_10 AC 133 ms
41,076 KB
testcase_11 AC 135 ms
41,572 KB
testcase_12 AC 131 ms
41,440 KB
testcase_13 AC 132 ms
41,300 KB
testcase_14 AC 133 ms
41,272 KB
testcase_15 AC 132 ms
41,324 KB
testcase_16 AC 134 ms
41,352 KB
testcase_17 AC 132 ms
41,624 KB
testcase_18 AC 134 ms
41,196 KB
testcase_19 AC 128 ms
41,108 KB
testcase_20 AC 136 ms
41,288 KB
testcase_21 AC 132 ms
41,652 KB
testcase_22 AC 119 ms
40,008 KB
testcase_23 AC 135 ms
41,288 KB
testcase_24 AC 133 ms
41,180 KB
testcase_25 AC 134 ms
41,448 KB
testcase_26 AC 133 ms
41,224 KB
testcase_27 AC 134 ms
41,012 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main (String []args) {
		
		int input = new Scanner(System.in).nextInt();
		
		if(input%6==0) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
				
		}
	}
}
0