結果

問題 No.85 TVザッピング(1)
ユーザー k_kadorak_kadora
提出日時 2015-06-19 21:59:35
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 307 bytes
コンパイル時間 5,789 ms
コンパイル使用メモリ 71,680 KB
実行使用メモリ 58,104 KB
最終ジャッジ日時 2023-09-21 09:50:40
合計ジャッジ時間 11,478 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
55,824 KB
testcase_01 AC 127 ms
55,796 KB
testcase_02 AC 132 ms
56,040 KB
testcase_03 AC 128 ms
55,784 KB
testcase_04 AC 124 ms
55,876 KB
testcase_05 AC 125 ms
55,744 KB
testcase_06 AC 127 ms
55,848 KB
testcase_07 AC 124 ms
55,840 KB
testcase_08 AC 124 ms
55,872 KB
testcase_09 AC 122 ms
55,556 KB
testcase_10 AC 123 ms
55,924 KB
testcase_11 AC 123 ms
54,180 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 124 ms
56,040 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 125 ms
55,840 KB
testcase_18 WA -
testcase_19 AC 126 ms
55,940 KB
testcase_20 AC 126 ms
55,580 KB
testcase_21 AC 124 ms
55,956 KB
testcase_22 AC 124 ms
55,908 KB
testcase_23 AC 124 ms
56,116 KB
testcase_24 AC 125 ms
56,044 KB
testcase_25 AC 123 ms
55,580 KB
testcase_26 AC 123 ms
56,104 KB
testcase_27 AC 125 ms
55,804 KB
testcase_28 AC 123 ms
55,800 KB
testcase_29 AC 126 ms
55,876 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class Yuki85{
	public static void main(String[] arg){
		Scanner sc = new Scanner(System.in);
		int n,m,c;
		n = sc.nextInt();
		m = sc.nextInt();
		c = sc.nextInt();
		if(n % 2 == 0 || m % 2 == 0){
			System.out.println("YES");
		}else{
			System.out.println("NO");
		}
	}
}
0