結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
51,876 KB
testcase_01 AC 36 ms
52,528 KB
testcase_02 AC 36 ms
52,692 KB
testcase_03 AC 37 ms
51,828 KB
testcase_04 AC 37 ms
53,100 KB
testcase_05 AC 36 ms
53,368 KB
testcase_06 AC 37 ms
53,572 KB
testcase_07 AC 36 ms
52,424 KB
testcase_08 AC 37 ms
52,404 KB
testcase_09 AC 37 ms
52,192 KB
testcase_10 AC 36 ms
52,940 KB
testcase_11 AC 37 ms
52,084 KB
testcase_12 AC 37 ms
53,012 KB
testcase_13 AC 37 ms
52,804 KB
testcase_14 AC 37 ms
52,760 KB
testcase_15 AC 36 ms
53,616 KB
testcase_16 AC 36 ms
51,964 KB
testcase_17 AC 37 ms
52,824 KB
testcase_18 AC 36 ms
51,820 KB
testcase_19 AC 37 ms
52,552 KB
testcase_20 AC 36 ms
52,760 KB
testcase_21 AC 37 ms
53,144 KB
testcase_22 AC 37 ms
52,244 KB
testcase_23 AC 37 ms
52,080 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

x, y = map(int, input().split())
if x<y and y<2*x:
    print(8)
elif x==y or y==2*x:
    print(4)
else:
    print(0)


0