結果

問題 No.98 円を描こう
ユーザー ytftytft
提出日時 2022-11-12 12:03:15
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 83 ms / 5,000 ms
コード長 154 bytes
コンパイル時間 309 ms
コンパイル使用メモリ 87,196 KB
実行使用メモリ 75,776 KB
最終ジャッジ日時 2023-10-12 04:10:00
合計ジャッジ時間 2,073 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
71,220 KB
testcase_01 AC 75 ms
71,300 KB
testcase_02 AC 75 ms
71,236 KB
testcase_03 AC 74 ms
71,204 KB
testcase_04 AC 75 ms
71,288 KB
testcase_05 AC 75 ms
71,100 KB
testcase_06 AC 83 ms
75,728 KB
testcase_07 AC 78 ms
75,660 KB
testcase_08 AC 76 ms
75,776 KB
testcase_09 AC 76 ms
75,696 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=lambda:sys.stdin.readline().rstrip()
A,B=map(int,input().split())
for i in range(100000):
	if i**2>(A**2+B**2)*4:
		print(i)
		sys.exit()
0