結果

問題 No.85 TVザッピング(1)
ユーザー ぴろずぴろず
提出日時 2014-12-04 23:45:50
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 406 bytes
コンパイル時間 2,332 ms
コンパイル使用メモリ 71,824 KB
実行使用メモリ 56,448 KB
最終ジャッジ日時 2023-09-02 08:35:05
合計ジャッジ時間 7,025 ms
ジャッジサーバーID
(参考情報)
judge16 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
55,640 KB
testcase_01 AC 126 ms
55,820 KB
testcase_02 AC 126 ms
55,612 KB
testcase_03 AC 127 ms
56,012 KB
testcase_04 AC 128 ms
55,660 KB
testcase_05 AC 131 ms
55,376 KB
testcase_06 AC 127 ms
55,908 KB
testcase_07 AC 126 ms
55,848 KB
testcase_08 AC 125 ms
55,852 KB
testcase_09 AC 127 ms
55,852 KB
testcase_10 AC 127 ms
53,488 KB
testcase_11 AC 127 ms
55,884 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 127 ms
56,208 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 125 ms
55,728 KB
testcase_18 WA -
testcase_19 AC 126 ms
55,864 KB
testcase_20 AC 126 ms
55,812 KB
testcase_21 AC 126 ms
53,368 KB
testcase_22 AC 126 ms
55,864 KB
testcase_23 AC 126 ms
55,824 KB
testcase_24 AC 126 ms
55,692 KB
testcase_25 AC 125 ms
55,436 KB
testcase_26 AC 126 ms
55,612 KB
testcase_27 AC 125 ms
55,732 KB
testcase_28 AC 125 ms
55,816 KB
testcase_29 AC 125 ms
55,932 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package no085;

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int m = sc.nextInt();
		int c = sc.nextInt();
		System.out.println(solve(n,m,c) ? "YES" : "NO");
	}

	public static boolean solve(int n,int m,int c) {
		if ((n*m)%2==1) {
			return false;
		}
		return true;
	}

}
0