結果

問題 No.1003 サイコロの実装 (1)
ユーザー usa1104_1224usa1104_1224
提出日時 2020-03-06 21:34:53
言語 Java21
(openjdk 21)
結果
AC  
実行時間 137 ms / 2,000 ms
コード長 256 bytes
コンパイル時間 2,219 ms
コンパイル使用メモリ 73,896 KB
実行使用メモリ 41,840 KB
最終ジャッジ日時 2024-04-22 05:15:40
合計ジャッジ時間 6,841 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 131 ms
41,416 KB
testcase_01 AC 134 ms
41,484 KB
testcase_02 AC 130 ms
41,840 KB
testcase_03 AC 133 ms
41,268 KB
testcase_04 AC 118 ms
41,280 KB
testcase_05 AC 131 ms
41,408 KB
testcase_06 AC 132 ms
41,272 KB
testcase_07 AC 131 ms
41,288 KB
testcase_08 AC 130 ms
41,056 KB
testcase_09 AC 131 ms
41,444 KB
testcase_10 AC 131 ms
40,976 KB
testcase_11 AC 137 ms
41,288 KB
testcase_12 AC 131 ms
40,856 KB
testcase_13 AC 128 ms
41,116 KB
testcase_14 AC 131 ms
40,960 KB
testcase_15 AC 130 ms
41,292 KB
testcase_16 AC 123 ms
40,032 KB
testcase_17 AC 134 ms
41,172 KB
testcase_18 AC 130 ms
40,992 KB
testcase_19 AC 128 ms
41,088 KB
testcase_20 AC 124 ms
40,016 KB
testcase_21 AC 118 ms
40,244 KB
testcase_22 AC 129 ms
40,964 KB
testcase_23 AC 130 ms
40,936 KB
testcase_24 AC 122 ms
40,004 KB
testcase_25 AC 127 ms
41,204 KB
testcase_26 AC 129 ms
40,968 KB
testcase_27 AC 125 ms
40,692 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

}
0