結果

問題 No.969 じゃんけん
ユーザー N_Gakuto7N_Gakuto7
提出日時 2020-04-02 22:12:34
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 387 bytes
コンパイル時間 2,045 ms
コンパイル使用メモリ 71,324 KB
実行使用メモリ 56,404 KB
最終ジャッジ日時 2023-09-11 00:48:39
合計ジャッジ時間 3,488 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 115 ms
56,404 KB
testcase_02 AC 115 ms
55,940 KB
testcase_03 AC 117 ms
55,928 KB
testcase_04 AC 116 ms
56,056 KB
testcase_05 AC 117 ms
56,208 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
         
class Main{
    public static void main(String[] args) {
        
        try(Scanner sc = new Scanner(System.in)){
 
            int num = Integer.parseInt(sc.next());

            if(num % 2 == 0) System.out.println("Yes");
            else System.out.println("No");

        }catch(Exception e){
            e.printStackTrace();
        }        
    }
}
0