結果

問題 No.1027 U+1F4A0
ユーザー stngstng
提出日時 2022-08-17 17:31:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 164 bytes
コンパイル時間 199 ms
コンパイル使用メモリ 81,864 KB
実行使用メモリ 53,652 KB
最終ジャッジ日時 2024-04-15 06:39:09
合計ジャッジ時間 2,331 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
52,488 KB
testcase_01 AC 38 ms
51,832 KB
testcase_02 AC 39 ms
52,516 KB
testcase_03 AC 39 ms
52,240 KB
testcase_04 AC 39 ms
52,528 KB
testcase_05 AC 38 ms
51,968 KB
testcase_06 AC 38 ms
52,224 KB
testcase_07 AC 39 ms
52,216 KB
testcase_08 AC 39 ms
52,068 KB
testcase_09 AC 39 ms
53,600 KB
testcase_10 AC 43 ms
52,756 KB
testcase_11 AC 38 ms
51,992 KB
testcase_12 AC 38 ms
53,000 KB
testcase_13 AC 39 ms
52,312 KB
testcase_14 AC 38 ms
52,088 KB
testcase_15 AC 42 ms
52,084 KB
testcase_16 AC 41 ms
51,952 KB
testcase_17 AC 42 ms
52,212 KB
testcase_18 AC 41 ms
52,328 KB
testcase_19 AC 41 ms
53,372 KB
testcase_20 AC 42 ms
51,932 KB
testcase_21 AC 42 ms
51,684 KB
testcase_22 AC 43 ms
52,092 KB
testcase_23 AC 44 ms
53,652 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

if d1 < d2/2:
    print(0)
elif d1 == d2/2:
    print(4)
elif d1 < d2:
    print(8)
elif d1 == d2:
    print(4)
else:
    print(0)
0