結果

問題 No.1003 サイコロの実装 (1)
ユーザー waganeco
提出日時 2020-03-13 10:07:26
言語 Java
(openjdk 23)
結果
AC  
実行時間 121 ms / 2,000 ms
コード長 299 bytes
コンパイル時間 3,627 ms
コンパイル使用メモリ 74,360 KB
実行使用メモリ 54,028 KB
最終ジャッジ日時 2024-11-21 16:07:51
合計ジャッジ時間 7,910 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class No1003 {

	public static void main(String[] args) {
		
		int n;
		Scanner sc = new Scanner(System.in);
		n = Integer.parseInt(sc.next());
		sc.close();
		
		if (n % 6 == 0) {
			System.out.println("Yes");
		}
		else{
			System.out.println("No");
		}
		
	}

}
0