結果

問題 No.85 TVザッピング(1)
ユーザー ぴろず
提出日時 2014-12-04 23:45:50
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 406 bytes
コンパイル時間 2,086 ms
コンパイル使用メモリ 74,584 KB
実行使用メモリ 54,340 KB
最終ジャッジ日時 2024-06-11 15:28:03
合計ジャッジ時間 5,928 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22 WA * 5
権限があれば一括ダウンロードができます

ソースコード

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