結果

問題 No.1027 U+1F4A0
ユーザー tamatotamato
提出日時 2020-04-17 21:24:27
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 303 bytes
コンパイル時間 334 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 52,352 KB
最終ジャッジ日時 2024-10-03 11:00:03
合計ジャッジ時間 1,886 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 10 WA * 12
権限があれば一括ダウンロードができます

ソースコード

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