結果

問題 No.172 UFOを捕まえろ
ユーザー netyo715netyo715
提出日時 2021-07-02 09:46:22
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 151 bytes
コンパイル時間 222 ms
コンパイル使用メモリ 10,540 KB
実行使用メモリ 8,024 KB
最終ジャッジ日時 2023-09-11 05:33:28
合計ジャッジ時間 1,981 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 17 ms
7,972 KB
testcase_02 AC 16 ms
7,848 KB
testcase_03 AC 16 ms
7,772 KB
testcase_04 AC 16 ms
7,796 KB
testcase_05 WA -
testcase_06 AC 16 ms
7,936 KB
testcase_07 AC 16 ms
7,964 KB
testcase_08 WA -
testcase_09 AC 17 ms
7,792 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 16 ms
7,964 KB
testcase_16 WA -
testcase_17 AC 16 ms
7,964 KB
testcase_18 AC 16 ms
7,880 KB
testcase_19 WA -
testcase_20 AC 16 ms
7,792 KB
testcase_21 WA -
testcase_22 AC 16 ms
7,708 KB
testcase_23 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

X, Y, R = map(int, input().split())
a = ((((X+Y)/2)**2)*2)**0.5+R

for i in range(1, 300):
    if ((i/2)**2*2)**0.5 > a:
        print(i)
        break
0