結果

問題 No.85 TVザッピング(1)
ユーザー Pump0129Pump0129
提出日時 2018-11-28 15:54:37
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 429 bytes
コンパイル時間 2,245 ms
コンパイル使用メモリ 71,012 KB
実行使用メモリ 56,340 KB
最終ジャッジ日時 2023-09-09 05:47:18
合計ジャッジ時間 6,779 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
56,340 KB
testcase_01 AC 122 ms
55,744 KB
testcase_02 AC 124 ms
55,604 KB
testcase_03 AC 125 ms
55,736 KB
testcase_04 AC 122 ms
56,088 KB
testcase_05 AC 121 ms
55,896 KB
testcase_06 AC 120 ms
55,740 KB
testcase_07 AC 121 ms
55,524 KB
testcase_08 AC 122 ms
55,724 KB
testcase_09 AC 121 ms
55,444 KB
testcase_10 AC 125 ms
56,104 KB
testcase_11 AC 125 ms
55,728 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 122 ms
55,644 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 123 ms
55,924 KB
testcase_18 WA -
testcase_19 AC 124 ms
55,876 KB
testcase_20 AC 119 ms
55,608 KB
testcase_21 AC 123 ms
55,684 KB
testcase_22 AC 121 ms
55,972 KB
testcase_23 AC 120 ms
55,652 KB
testcase_24 AC 120 ms
53,468 KB
testcase_25 AC 120 ms
56,216 KB
testcase_26 AC 123 ms
55,988 KB
testcase_27 AC 124 ms
55,612 KB
testcase_28 AC 124 ms
56,220 KB
testcase_29 AC 122 ms
56,216 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package net.ipipip0129.yukicoder.no85;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int pos_x = scan.nextInt();
        int pos_y = scan.nextInt();

        if (pos_x % 2 == 0 || pos_y % 2 == 0) {
            System.out.println("YES");
        } else {
            System.out.println("NO");
        }
    }
}
0