結果

問題 No.795 Restrictions!!!!!!!!!!!!!!
ユーザー cielciel
提出日時 2019-03-25 01:18:59
言語 Ruby
(3.2.2)
結果
AC  
実行時間 87 ms / 2,000 ms
コード長 98 bytes
コンパイル時間 383 ms
コンパイル使用メモリ 11,564 KB
実行使用メモリ 15,928 KB
最終ジャッジ日時 2023-07-27 23:13:15
合計ジャッジ時間 4,029 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 87 ms
15,896 KB
testcase_01 AC 84 ms
15,852 KB
testcase_02 AC 86 ms
15,616 KB
testcase_03 AC 87 ms
15,852 KB
testcase_04 AC 86 ms
15,860 KB
testcase_05 AC 86 ms
15,928 KB
testcase_06 AC 86 ms
15,924 KB
testcase_07 AC 83 ms
15,840 KB
testcase_08 AC 85 ms
15,700 KB
testcase_09 AC 84 ms
15,824 KB
testcase_10 AC 83 ms
15,744 KB
testcase_11 AC 84 ms
15,760 KB
testcase_12 AC 84 ms
15,716 KB
testcase_13 AC 84 ms
15,728 KB
testcase_14 AC 83 ms
15,640 KB
testcase_15 AC 85 ms
15,912 KB
testcase_16 AC 87 ms
15,760 KB
testcase_17 AC 85 ms
15,860 KB
testcase_18 AC 86 ms
15,820 KB
testcase_19 AC 87 ms
15,704 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n=gets.to_i
m=gets.to_i
n%=2
if n==1
    (puts :No;exit)if m<10
    m-=10
end
puts [:Yes,:No][m%2]
0