結果

問題 No.1003 サイコロの実装 (1)
ユーザー pacicficdolphinpacicficdolphin
提出日時 2020-03-08 10:41:24
言語 Java
(openjdk 23)
結果
AC  
実行時間 137 ms / 2,000 ms
コード長 245 bytes
コンパイル時間 1,995 ms
コンパイル使用メモリ 74,540 KB
実行使用メモリ 54,368 KB
最終ジャッジ日時 2024-11-06 21:19:52
合計ジャッジ時間 6,722 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

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