結果

問題 No.1027 U+1F4A0
ユーザー tamatotamato
提出日時 2020-04-17 21:24:27
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 303 bytes
コンパイル時間 157 ms
コンパイル使用メモリ 82,832 KB
実行使用メモリ 53,972 KB
最終ジャッジ日時 2024-04-14 12:57:58
合計ジャッジ時間 2,076 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 39 ms
52,484 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 39 ms
52,000 KB
testcase_06 AC 38 ms
53,724 KB
testcase_07 AC 37 ms
53,100 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 37 ms
53,420 KB
testcase_17 AC 37 ms
52,332 KB
testcase_18 AC 37 ms
52,192 KB
testcase_19 AC 38 ms
52,440 KB
testcase_20 AC 38 ms
52,952 KB
testcase_21 AC 38 ms
52,472 KB
testcase_22 WA -
testcase_23 AC 37 ms
52,816 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

    b, a = 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