結果

問題 No.1027 U+1F4A0
ユーザー taxfree_pythontaxfree_python
提出日時 2020-04-17 22:02:54
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 119 bytes
コンパイル時間 382 ms
コンパイル使用メモリ 82,692 KB
実行使用メモリ 54,032 KB
最終ジャッジ日時 2024-04-14 14:12:19
合計ジャッジ時間 2,297 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
52,804 KB
testcase_01 AC 38 ms
52,756 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 37 ms
52,188 KB
testcase_09 AC 38 ms
52,452 KB
testcase_10 AC 37 ms
52,344 KB
testcase_11 AC 37 ms
52,420 KB
testcase_12 AC 38 ms
52,272 KB
testcase_13 AC 37 ms
52,340 KB
testcase_14 AC 38 ms
52,412 KB
testcase_15 AC 37 ms
52,492 KB
testcase_16 AC 38 ms
52,872 KB
testcase_17 AC 38 ms
52,452 KB
testcase_18 AC 37 ms
52,004 KB
testcase_19 AC 38 ms
53,604 KB
testcase_20 AC 38 ms
53,492 KB
testcase_21 AC 38 ms
52,628 KB
testcase_22 AC 37 ms
53,148 KB
testcase_23 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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

d = -d2 + 2 * d1
if d > 0:
    print(8)
elif d == 0:
    print(4)
else:
    print(0)
0