結果

問題 No.85 TVザッピング(1)
ユーザー spaciaspacia
提出日時 2016-01-20 14:47:36
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 462 bytes
コンパイル時間 1,786 ms
コンパイル使用メモリ 74,256 KB
実行使用メモリ 53,592 KB
最終ジャッジ日時 2023-10-21 13:31:41
合計ジャッジ時間 4,441 ms
ジャッジサーバーID
(参考情報)
judge12 / judge9
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 48 ms
53,572 KB
testcase_01 AC 48 ms
53,564 KB
testcase_02 AC 59 ms
53,592 KB
testcase_03 AC 52 ms
52,464 KB
testcase_04 AC 50 ms
52,476 KB
testcase_05 AC 50 ms
52,488 KB
testcase_06 AC 49 ms
53,568 KB
testcase_07 AC 48 ms
53,572 KB
testcase_08 AC 50 ms
53,568 KB
testcase_09 AC 49 ms
53,576 KB
testcase_10 AC 50 ms
52,472 KB
testcase_11 AC 48 ms
53,576 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 49 ms
53,568 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 60 ms
53,568 KB
testcase_18 WA -
testcase_19 AC 48 ms
53,588 KB
testcase_20 AC 49 ms
53,572 KB
testcase_21 AC 49 ms
52,484 KB
testcase_22 AC 51 ms
52,500 KB
testcase_23 AC 49 ms
53,576 KB
testcase_24 AC 50 ms
52,480 KB
testcase_25 AC 50 ms
52,488 KB
testcase_26 AC 49 ms
53,572 KB
testcase_27 AC 49 ms
53,572 KB
testcase_28 AC 50 ms
53,580 KB
testcase_29 AC 57 ms
53,568 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;
import java.math.*;

class Main {
	
	public static void out (Object o) {
		System.out.println(o);
	}
	
	public static void main (String[] args) throws IOException {
		BufferedReader br = 
			new BufferedReader(new InputStreamReader(System.in));
		
		String[] line = br.readLine().split(" ");
		
		int n = Integer.parseInt(line[0]);
		int m = Integer.parseInt(line[1]);
		
		out(n % 2 == 0 || m % 2 == 0 ? "YES" : "NO");
	}
}
0