結果

問題 No.969 じゃんけん
ユーザー nogisun
提出日時 2020-03-23 17:44:38
言語 Java
(openjdk 23)
結果
AC  
実行時間 160 ms / 2,000 ms
コード長 326 bytes
コンパイル時間 4,325 ms
コンパイル使用メモリ 74,316 KB
実行使用メモリ 41,308 KB
最終ジャッジ日時 2024-12-26 13:46:37
合計ジャッジ時間 6,101 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class No969{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int str = sc.nextInt();
        if (str == 0 || str == 4 || str == 10){
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
}
0