結果

問題 No.1027 U+1F4A0
ユーザー Navier_Boltzmann
提出日時 2024-02-17 20:43:20
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 42 ms / 2,000 ms
コード長 304 bytes
コンパイル時間 137 ms
コンパイル使用メモリ 82,384 KB
実行使用メモリ 57,272 KB
最終ジャッジ日時 2024-09-28 23:54:47
合計ジャッジ時間 1,893 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import *
from itertools import *
from functools import *
from heapq import *
import sys,math
input = sys.stdin.readline




D1,D2 = map(int,input().split())
D1 *= 2
if D1==D2:
    print(4)
elif D1<D2:
    print(0)
elif D1<2*D2:
    print(8)
elif D1==2*D2:
    print(4)
else:
    print(0)
0