結果

問題 No.1027 U+1F4A0
ユーザー stngstng
提出日時 2022-08-17 17:30:46
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 178 bytes
コンパイル時間 341 ms
コンパイル使用メモリ 82,444 KB
実行使用メモリ 54,220 KB
最終ジャッジ日時 2024-04-15 06:38:36
合計ジャッジ時間 1,972 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
53,144 KB
testcase_01 AC 37 ms
52,600 KB
testcase_02 AC 35 ms
53,536 KB
testcase_03 AC 36 ms
53,060 KB
testcase_04 AC 37 ms
52,980 KB
testcase_05 AC 35 ms
52,876 KB
testcase_06 AC 35 ms
52,000 KB
testcase_07 AC 36 ms
51,884 KB
testcase_08 AC 40 ms
52,604 KB
testcase_09 AC 35 ms
53,008 KB
testcase_10 AC 36 ms
52,808 KB
testcase_11 AC 36 ms
52,624 KB
testcase_12 AC 35 ms
52,720 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 34 ms
52,268 KB
testcase_23 AC 36 ms
53,300 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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