結果

問題 No.85 TVザッピング(1)
ユーザー k_kadorak_kadora
提出日時 2015-06-19 22:02:36
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 329 bytes
コンパイル時間 5,472 ms
コンパイル使用メモリ 72,692 KB
実行使用メモリ 56,572 KB
最終ジャッジ日時 2023-09-21 09:51:06
合計ジャッジ時間 8,714 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 112 ms
55,820 KB
testcase_01 AC 114 ms
55,792 KB
testcase_02 AC 112 ms
55,672 KB
testcase_03 AC 111 ms
56,208 KB
testcase_04 AC 113 ms
55,604 KB
testcase_05 AC 109 ms
55,940 KB
testcase_06 AC 116 ms
55,752 KB
testcase_07 AC 112 ms
56,104 KB
testcase_08 AC 112 ms
55,908 KB
testcase_09 WA -
testcase_10 AC 121 ms
55,544 KB
testcase_11 AC 115 ms
55,796 KB
testcase_12 AC 111 ms
56,572 KB
testcase_13 AC 113 ms
55,952 KB
testcase_14 WA -
testcase_15 AC 114 ms
56,152 KB
testcase_16 AC 117 ms
56,164 KB
testcase_17 AC 112 ms
56,108 KB
testcase_18 AC 110 ms
56,216 KB
testcase_19 AC 113 ms
55,808 KB
testcase_20 AC 113 ms
56,012 KB
testcase_21 AC 113 ms
55,864 KB
testcase_22 AC 108 ms
55,732 KB
testcase_23 AC 110 ms
55,820 KB
testcase_24 AC 116 ms
55,560 KB
testcase_25 AC 111 ms
55,856 KB
testcase_26 AC 113 ms
55,564 KB
testcase_27 AC 114 ms
56,180 KB
testcase_28 AC 116 ms
55,876 KB
testcase_29 AC 110 ms
55,832 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 )&& n != 1 && m != 1){
			System.out.println("YES");
		}else{
			System.out.println("NO");
		}
	}
}
0