結果

問題 No.1027 U+1F4A0
ユーザー tamatotamato
提出日時 2020-04-17 21:22:33
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 332 bytes
コンパイル時間 309 ms
コンパイル使用メモリ 83,104 KB
実行使用メモリ 54,384 KB
最終ジャッジ日時 2024-04-14 12:54:05
合計ジャッジ時間 2,127 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,232 KB
testcase_01 WA -
testcase_02 AC 37 ms
52,216 KB
testcase_03 AC 37 ms
52,408 KB
testcase_04 AC 37 ms
53,120 KB
testcase_05 AC 38 ms
52,080 KB
testcase_06 AC 38 ms
52,468 KB
testcase_07 AC 37 ms
52,932 KB
testcase_08 AC 37 ms
52,404 KB
testcase_09 AC 37 ms
52,652 KB
testcase_10 AC 37 ms
52,692 KB
testcase_11 AC 37 ms
52,752 KB
testcase_12 AC 37 ms
52,932 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 38 ms
52,740 KB
testcase_23 AC 38 ms
53,812 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 1000000007
eps = 10**-9


def main():
    import sys
    input = sys.stdin.readline

    a, b = map(int, input().split())

    if a == b:
        print(4)
    elif b < a:
        print(0)
    elif a == 2*b:
        print(4)
    elif a > 2*b:
        print(0)
    else:
        print(8)


if __name__ == '__main__':
    main()
0