結果

問題 No.98 円を描こう
ユーザー roiti46roiti46
提出日時 2014-12-17 01:04:33
言語 Python2
(2.7.18)
結果
AC  
実行時間 13 ms / 5,000 ms
コード長 116 bytes
コンパイル時間 597 ms
コンパイル使用メモリ 6,672 KB
実行使用メモリ 6,448 KB
最終ジャッジ日時 2023-09-02 16:04:55
合計ジャッジ時間 1,450 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
6,324 KB
testcase_01 AC 13 ms
6,256 KB
testcase_02 AC 11 ms
6,224 KB
testcase_03 AC 12 ms
6,120 KB
testcase_04 AC 11 ms
6,448 KB
testcase_05 AC 12 ms
6,256 KB
testcase_06 AC 12 ms
6,292 KB
testcase_07 AC 11 ms
6,292 KB
testcase_08 AC 11 ms
6,396 KB
testcase_09 AC 11 ms
6,220 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
x,y = map(int,raw_input().split())
R =  math.ceil(2*(x**2+y**2)**0.5+0.00000001)/2.0
print int(2*R)
0