結果

問題 No.1027 U+1F4A0
ユーザー uni_python
提出日時 2020-06-24 19:26:15
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 377 bytes
コンパイル時間 249 ms
コンパイル使用メモリ 82,444 KB
実行使用メモリ 53,956 KB
最終ジャッジ日時 2024-07-01 04:36:33
合計ジャッジ時間 2,073 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=sys.stdin.readline
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    d1,d2=MI()
    if d1>d2:
        print(0)
    elif d1==d2:
        print(4)
    elif d1>d2/2:
        print(8)
    elif d1==d2/2:
        print(4)
    else:
        print(0)
    


main()
0