結果

問題 No.1003 サイコロの実装 (1)
ユーザー 37zigen37zigen
提出日時 2020-03-06 15:31:03
言語 Java21
(openjdk 21)
結果
AC  
実行時間 120 ms / 2,000 ms
コード長 233 bytes
コンパイル時間 1,961 ms
コンパイル使用メモリ 74,304 KB
実行使用メモリ 41,392 KB
最終ジャッジ日時 2024-04-22 04:29:08
合計ジャッジ時間 5,981 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 112 ms
41,088 KB
testcase_01 AC 105 ms
40,532 KB
testcase_02 AC 115 ms
41,080 KB
testcase_03 AC 113 ms
40,916 KB
testcase_04 AC 112 ms
40,904 KB
testcase_05 AC 104 ms
40,012 KB
testcase_06 AC 103 ms
39,944 KB
testcase_07 AC 103 ms
40,004 KB
testcase_08 AC 118 ms
41,392 KB
testcase_09 AC 116 ms
41,180 KB
testcase_10 AC 113 ms
41,104 KB
testcase_11 AC 120 ms
40,968 KB
testcase_12 AC 102 ms
39,612 KB
testcase_13 AC 114 ms
41,024 KB
testcase_14 AC 118 ms
40,780 KB
testcase_15 AC 120 ms
40,852 KB
testcase_16 AC 118 ms
40,956 KB
testcase_17 AC 116 ms
41,176 KB
testcase_18 AC 118 ms
41,124 KB
testcase_19 AC 102 ms
39,864 KB
testcase_20 AC 116 ms
41,160 KB
testcase_21 AC 112 ms
40,940 KB
testcase_22 AC 103 ms
39,920 KB
testcase_23 AC 107 ms
39,732 KB
testcase_24 AC 108 ms
40,008 KB
testcase_25 AC 108 ms
39,956 KB
testcase_26 AC 115 ms
40,960 KB
testcase_27 AC 115 ms
41,208 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		new Main().run();
	}
	
	void run() {
		Scanner sc=new Scanner(System.in);
		int N=sc.nextInt();
		System.out.println(N%6==0?"Yes":"No");
	}
}
0