結果

問題 No.1027 U+1F4A0
ユーザー 👑 H20H20
提出日時 2020-11-19 17:00:03
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 73 ms / 2,000 ms
コード長 122 bytes
コンパイル時間 1,355 ms
コンパイル使用メモリ 86,264 KB
実行使用メモリ 71,116 KB
最終ジャッジ日時 2023-09-30 16:23:03
合計ジャッジ時間 4,439 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
70,768 KB
testcase_01 AC 72 ms
70,792 KB
testcase_02 AC 72 ms
70,792 KB
testcase_03 AC 72 ms
70,672 KB
testcase_04 AC 73 ms
71,108 KB
testcase_05 AC 72 ms
70,956 KB
testcase_06 AC 71 ms
70,952 KB
testcase_07 AC 72 ms
71,116 KB
testcase_08 AC 73 ms
70,812 KB
testcase_09 AC 73 ms
70,796 KB
testcase_10 AC 71 ms
70,880 KB
testcase_11 AC 71 ms
70,612 KB
testcase_12 AC 70 ms
70,948 KB
testcase_13 AC 72 ms
70,884 KB
testcase_14 AC 70 ms
70,980 KB
testcase_15 AC 72 ms
70,540 KB
testcase_16 AC 72 ms
70,792 KB
testcase_17 AC 72 ms
70,752 KB
testcase_18 AC 72 ms
70,940 KB
testcase_19 AC 72 ms
71,060 KB
testcase_20 AC 72 ms
70,800 KB
testcase_21 AC 71 ms
70,756 KB
testcase_22 AC 73 ms
71,104 KB
testcase_23 AC 70 ms
70,760 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

D1,D2=map(int, input().split())
if D1>D2 or D1<D2/2:
    print(0)
elif D1==D2 or D1==D2/2:
    print(4)
else:
    print(8)
0