結果

問題 No.1027 U+1F4A0
ユーザー now4estnow4est
提出日時 2020-04-17 23:27:49
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 221 bytes
コンパイル時間 288 ms
コンパイル使用メモリ 82,376 KB
実行使用メモリ 54,104 KB
最終ジャッジ日時 2024-04-14 15:40:26
合計ジャッジ時間 2,244 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
52,296 KB
testcase_01 AC 39 ms
52,432 KB
testcase_02 AC 39 ms
51,900 KB
testcase_03 AC 38 ms
53,040 KB
testcase_04 AC 39 ms
52,256 KB
testcase_05 AC 39 ms
52,948 KB
testcase_06 AC 38 ms
52,808 KB
testcase_07 AC 39 ms
52,156 KB
testcase_08 AC 39 ms
53,680 KB
testcase_09 AC 39 ms
52,316 KB
testcase_10 AC 38 ms
52,284 KB
testcase_11 AC 39 ms
52,364 KB
testcase_12 AC 39 ms
52,424 KB
testcase_13 AC 38 ms
53,436 KB
testcase_14 AC 39 ms
52,192 KB
testcase_15 AC 38 ms
51,828 KB
testcase_16 AC 38 ms
51,904 KB
testcase_17 AC 39 ms
52,776 KB
testcase_18 AC 38 ms
52,404 KB
testcase_19 AC 38 ms
52,868 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 38 ms
53,556 KB
testcase_23 AC 38 ms
52,608 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

d1, d2 = map(int, sys.stdin.readline().split())

if d1 == d2:
    print(4)
    sys.exit()

if d1 == d2 // 2:
    print(4)
    sys.exit()

if (d1 < d2) and (d2 // 2 < d1):
    print(8)
    sys.exit()

print(0)
0