結果

問題 No.98 円を描こう
ユーザー yuki2006yuki2006
提出日時 2015-02-23 15:21:55
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 78 ms / 5,000 ms
コード長 106 bytes
コンパイル時間 865 ms
コンパイル使用メモリ 77,924 KB
実行使用メモリ 76,804 KB
最終ジャッジ日時 2023-09-06 03:03:49
合計ジャッジ時間 1,720 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
76,440 KB
testcase_01 AC 75 ms
76,804 KB
testcase_02 AC 74 ms
76,464 KB
testcase_03 AC 75 ms
76,328 KB
testcase_04 AC 74 ms
76,420 KB
testcase_05 AC 75 ms
76,324 KB
testcase_06 AC 77 ms
76,344 KB
testcase_07 AC 75 ms
76,460 KB
testcase_08 AC 75 ms
76,664 KB
testcase_09 AC 74 ms
76,464 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

Xp, Yp = map(int, raw_input().split())

A = math.sqrt(Xp ** 2 + Yp ** 2)
print int(2 * A + 1)
0