結果

問題 No.1003 サイコロの実装 (1)
ユーザー waganecowaganeco
提出日時 2020-03-13 10:05:15
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 300 bytes
コンパイル時間 3,739 ms
コンパイル使用メモリ 74,868 KB
実行使用メモリ 55,888 KB
最終ジャッジ日時 2024-11-21 16:04:14
合計ジャッジ時間 7,916 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 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