結果

問題 No.795 Restrictions!!!!!!!!!!!!!!
ユーザー MaboyMaboy
提出日時 2021-06-18 13:47:57
言語 Swift
(5.10.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 167 bytes
コンパイル時間 7,701 ms
コンパイル使用メモリ 118,524 KB
実行使用メモリ 7,772 KB
最終ジャッジ日時 2023-09-04 06:27:06
合計ジャッジ時間 9,231 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
7,772 KB
testcase_01 AC 3 ms
7,592 KB
testcase_02 AC 3 ms
7,620 KB
testcase_03 AC 3 ms
7,556 KB
testcase_04 AC 3 ms
7,624 KB
testcase_05 AC 3 ms
7,672 KB
testcase_06 AC 3 ms
7,632 KB
testcase_07 AC 3 ms
7,556 KB
testcase_08 AC 3 ms
7,668 KB
testcase_09 AC 3 ms
7,612 KB
testcase_10 AC 3 ms
7,552 KB
testcase_11 AC 2 ms
7,548 KB
testcase_12 AC 3 ms
7,728 KB
testcase_13 AC 3 ms
7,612 KB
testcase_14 AC 3 ms
7,620 KB
testcase_15 AC 3 ms
7,676 KB
testcase_16 AC 3 ms
7,556 KB
testcase_17 AC 3 ms
7,604 KB
testcase_18 AC 3 ms
7,672 KB
testcase_19 AC 3 ms
7,736 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

let N = Int(readLine()!)
let M = Int(readLine()!)
var ans = "Yes"
if N! % 2 != 0{
    ans = "No"
    if M! % 2 == 0 && M! >= 10{
        ans = "Yes"
    }
}
print(ans)
0