結果

問題 No.1027 U+1F4A0
ユーザー miya145592miya145592
提出日時 2023-05-18 21:45:24
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 169 bytes
コンパイル時間 1,554 ms
コンパイル使用メモリ 86,756 KB
実行使用メモリ 71,492 KB
最終ジャッジ日時 2023-08-22 13:04:24
合計ジャッジ時間 4,647 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,012 KB
testcase_01 AC 75 ms
71,336 KB
testcase_02 AC 77 ms
71,428 KB
testcase_03 AC 77 ms
71,132 KB
testcase_04 AC 75 ms
71,128 KB
testcase_05 AC 77 ms
71,328 KB
testcase_06 AC 77 ms
71,268 KB
testcase_07 AC 76 ms
71,036 KB
testcase_08 AC 77 ms
71,132 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 76 ms
71,432 KB
testcase_17 AC 77 ms
71,288 KB
testcase_18 AC 76 ms
71,032 KB
testcase_19 AC 76 ms
71,008 KB
testcase_20 AC 76 ms
71,492 KB
testcase_21 AC 76 ms
71,024 KB
testcase_22 AC 77 ms
70,848 KB
testcase_23 AC 76 ms
71,328 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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