結果

問題 No.1027 U+1F4A0
ユーザー Omura ShunsukeOmura Shunsuke
提出日時 2020-05-01 08:44:06
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 187 bytes
コンパイル時間 279 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 52,096 KB
最終ジャッジ日時 2024-06-02 10:52:01
合計ジャッジ時間 2,008 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
51,840 KB
testcase_01 AC 33 ms
51,584 KB
testcase_02 AC 36 ms
51,456 KB
testcase_03 AC 35 ms
51,584 KB
testcase_04 AC 34 ms
51,712 KB
testcase_05 AC 34 ms
51,584 KB
testcase_06 AC 34 ms
51,456 KB
testcase_07 AC 34 ms
52,096 KB
testcase_08 AC 35 ms
51,968 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 35 ms
51,456 KB
testcase_17 AC 35 ms
51,840 KB
testcase_18 AC 36 ms
51,840 KB
testcase_19 AC 34 ms
51,968 KB
testcase_20 AC 34 ms
51,456 KB
testcase_21 AC 35 ms
51,456 KB
testcase_22 AC 35 ms
51,584 KB
testcase_23 AC 36 ms
51,712 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