結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
53,548 KB
testcase_01 AC 57 ms
52,460 KB
testcase_02 AC 56 ms
53,552 KB
testcase_03 AC 55 ms
53,556 KB
testcase_04 AC 56 ms
53,568 KB
testcase_05 AC 55 ms
53,496 KB
testcase_06 AC 55 ms
53,556 KB
testcase_07 AC 55 ms
53,564 KB
testcase_08 AC 54 ms
53,552 KB
testcase_09 WA -
testcase_10 AC 55 ms
53,496 KB
testcase_11 AC 55 ms
53,560 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 55 ms
53,496 KB
testcase_18 WA -
testcase_19 AC 55 ms
53,552 KB
testcase_20 AC 55 ms
52,432 KB
testcase_21 AC 54 ms
53,556 KB
testcase_22 AC 54 ms
53,552 KB
testcase_23 AC 55 ms
53,564 KB
testcase_24 AC 54 ms
53,556 KB
testcase_25 AC 54 ms
53,556 KB
testcase_26 AC 54 ms
51,576 KB
testcase_27 AC 54 ms
53,556 KB
testcase_28 AC 56 ms
53,560 KB
testcase_29 AC 56 ms
53,556 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 * m % 2 == 0 && n * m != 2 ? "YES" : "NO");
	}
}
0