結果

問題 No.1027 U+1F4A0
ユーザー mlihua09mlihua09
提出日時 2020-08-29 19:52:52
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 199 bytes
コンパイル時間 179 ms
コンパイル使用メモリ 82,280 KB
実行使用メモリ 53,476 KB
最終ジャッジ日時 2024-04-27 01:17:17
合計ジャッジ時間 2,175 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
52,168 KB
testcase_01 AC 37 ms
52,520 KB
testcase_02 AC 34 ms
52,888 KB
testcase_03 AC 35 ms
51,888 KB
testcase_04 AC 35 ms
52,216 KB
testcase_05 AC 35 ms
53,284 KB
testcase_06 AC 36 ms
52,304 KB
testcase_07 AC 38 ms
51,924 KB
testcase_08 AC 36 ms
52,260 KB
testcase_09 AC 35 ms
52,888 KB
testcase_10 AC 36 ms
52,340 KB
testcase_11 AC 35 ms
52,436 KB
testcase_12 AC 35 ms
52,344 KB
testcase_13 AC 36 ms
51,884 KB
testcase_14 AC 37 ms
53,476 KB
testcase_15 AC 37 ms
51,984 KB
testcase_16 AC 36 ms
53,080 KB
testcase_17 AC 36 ms
51,888 KB
testcase_18 AC 35 ms
52,164 KB
testcase_19 AC 35 ms
53,116 KB
testcase_20 AC 34 ms
52,596 KB
testcase_21 AC 34 ms
53,220 KB
testcase_22 AC 38 ms
52,632 KB
testcase_23 AC 36 ms
52,028 KB
権限があれば一括ダウンロードができます

ソースコード

diff #


D1, D2 = map(int, input().split())
D1 *= 2

if D1 < D2:
    
    print(0)
    
elif D1 == D2 or D1 == 2 * D2:
    
    print(4)
    
elif D1 < 2 * D2:
    
    print(8)
    
else:
    
    print(0)
0