結果

問題 No.1027 U+1F4A0
ユーザー Omura ShunsukeOmura Shunsuke
提出日時 2020-05-01 08:44:06
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 187 bytes
コンパイル時間 315 ms
コンパイル使用メモリ 86,772 KB
実行使用メモリ 71,432 KB
最終ジャッジ日時 2023-08-24 21:35:06
合計ジャッジ時間 4,061 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,132 KB
testcase_01 AC 70 ms
71,132 KB
testcase_02 AC 71 ms
71,428 KB
testcase_03 AC 72 ms
71,184 KB
testcase_04 AC 71 ms
71,272 KB
testcase_05 AC 72 ms
71,092 KB
testcase_06 AC 74 ms
71,212 KB
testcase_07 AC 70 ms
71,232 KB
testcase_08 AC 69 ms
71,180 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 71 ms
71,432 KB
testcase_17 AC 71 ms
71,244 KB
testcase_18 AC 72 ms
71,300 KB
testcase_19 AC 71 ms
70,992 KB
testcase_20 AC 70 ms
71,144 KB
testcase_21 AC 71 ms
71,136 KB
testcase_22 AC 71 ms
71,236 KB
testcase_23 AC 70 ms
71,036 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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