結果

問題 No.1027 U+1F4A0
ユーザー d9etd9et
提出日時 2020-04-17 21:33:57
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 2,000 ms
コード長 149 bytes
コンパイル時間 163 ms
コンパイル使用メモリ 82,984 KB
実行使用メモリ 53,428 KB
最終ジャッジ日時 2024-04-14 13:13:51
合計ジャッジ時間 2,021 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
52,816 KB
testcase_01 AC 37 ms
53,428 KB
testcase_02 AC 37 ms
51,752 KB
testcase_03 AC 37 ms
52,608 KB
testcase_04 AC 36 ms
52,488 KB
testcase_05 AC 36 ms
53,304 KB
testcase_06 AC 36 ms
52,400 KB
testcase_07 AC 36 ms
53,172 KB
testcase_08 AC 36 ms
52,068 KB
testcase_09 AC 37 ms
52,440 KB
testcase_10 AC 37 ms
52,732 KB
testcase_11 AC 41 ms
52,428 KB
testcase_12 AC 38 ms
51,548 KB
testcase_13 AC 36 ms
52,812 KB
testcase_14 AC 37 ms
53,000 KB
testcase_15 AC 36 ms
52,892 KB
testcase_16 AC 36 ms
52,168 KB
testcase_17 AC 36 ms
52,060 KB
testcase_18 AC 37 ms
52,120 KB
testcase_19 AC 36 ms
52,488 KB
testcase_20 AC 37 ms
52,216 KB
testcase_21 AC 37 ms
52,024 KB
testcase_22 AC 37 ms
52,324 KB
testcase_23 AC 37 ms
52,544 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b = map(int,input().split())
if a>b:
    print(0)
elif a == b:
    print(4)
elif a*2>b:
    print(8)
elif a*2 == b:
    print(4)
else:
    print(0)
0