結果

問題 No.1027 U+1F4A0
ユーザー qibqib
提出日時 2022-11-20 16:24:52
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 153 bytes
コンパイル時間 221 ms
コンパイル使用メモリ 81,768 KB
実行使用メモリ 53,524 KB
最終ジャッジ日時 2023-10-21 14:29:18
合計ジャッジ時間 2,227 ms
ジャッジサーバーID
(参考情報)
judge10 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
53,524 KB
testcase_01 AC 35 ms
53,524 KB
testcase_02 AC 36 ms
53,524 KB
testcase_03 AC 36 ms
53,524 KB
testcase_04 AC 36 ms
53,524 KB
testcase_05 AC 40 ms
53,524 KB
testcase_06 AC 36 ms
53,524 KB
testcase_07 AC 36 ms
53,524 KB
testcase_08 AC 36 ms
53,524 KB
testcase_09 AC 36 ms
53,524 KB
testcase_10 AC 36 ms
53,524 KB
testcase_11 AC 36 ms
53,524 KB
testcase_12 AC 36 ms
53,524 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 36 ms
53,524 KB
testcase_23 AC 36 ms
53,524 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

d1, d2 = map(int, input().split())

if d1 > d2:
  print("0")
elif 4 * d1 < d2:
  print("0")
elif d1 == d2 or 4 * d1 == d2:
  print("4")
else:
	print("8")
0