結果

問題 No.85 TVザッピング(1)
ユーザー scachescache
提出日時 2014-12-04 23:31:30
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 408 bytes
コンパイル時間 3,215 ms
コンパイル使用メモリ 72,864 KB
実行使用メモリ 56,188 KB
最終ジャッジ日時 2023-09-02 08:29:05
合計ジャッジ時間 8,551 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 128 ms
55,900 KB
testcase_01 AC 127 ms
55,952 KB
testcase_02 AC 126 ms
55,896 KB
testcase_03 AC 127 ms
55,484 KB
testcase_04 AC 127 ms
55,888 KB
testcase_05 AC 131 ms
55,740 KB
testcase_06 AC 129 ms
55,996 KB
testcase_07 AC 128 ms
55,752 KB
testcase_08 AC 130 ms
55,528 KB
testcase_09 AC 127 ms
55,720 KB
testcase_10 AC 128 ms
55,720 KB
testcase_11 AC 127 ms
55,664 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 129 ms
56,028 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 128 ms
56,024 KB
testcase_18 WA -
testcase_19 AC 127 ms
55,828 KB
testcase_20 AC 128 ms
55,752 KB
testcase_21 AC 127 ms
55,864 KB
testcase_22 AC 127 ms
55,848 KB
testcase_23 AC 127 ms
55,512 KB
testcase_24 AC 128 ms
55,484 KB
testcase_25 AC 132 ms
55,984 KB
testcase_26 AC 127 ms
55,832 KB
testcase_27 AC 128 ms
55,760 KB
testcase_28 AC 128 ms
55,492 KB
testcase_29 AC 129 ms
55,720 KB
権限があれば一括ダウンロードができます

ソースコード

diff #


import java.util.Scanner;

public class Main85 {
	public static void main(String[] args) {
		Main85 p = new Main85();
	}

	public Main85() {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int m = sc.nextInt();
		int c = sc.nextInt();
		
		if((n*m)%2==0 || n*m<=2)
			System.out.println("YES");
		else
			System.out.println("NO");
	}

	public void solve() {
	}

}
0