結果

問題 No.98 円を描こう
ユーザー brthyyjpbrthyyjp
提出日時 2020-11-07 00:56:37
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 5,000 ms
コード長 141 bytes
コンパイル時間 310 ms
コンパイル使用メモリ 87,100 KB
実行使用メモリ 75,792 KB
最終ジャッジ日時 2023-09-29 19:54:39
合計ジャッジ時間 1,847 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,288 KB
testcase_01 AC 73 ms
71,356 KB
testcase_02 AC 73 ms
71,144 KB
testcase_03 AC 74 ms
71,120 KB
testcase_04 AC 75 ms
71,308 KB
testcase_05 AC 74 ms
71,372 KB
testcase_06 AC 74 ms
75,572 KB
testcase_07 AC 75 ms
75,528 KB
testcase_08 AC 79 ms
75,792 KB
testcase_09 AC 76 ms
75,608 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

x, y = map(int, input().split())
t = x**2+y**2
r = 0
while True:
    if r**2 > 4*t:
        print(r)
        exit()
    else:
        r += 1
0