結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
6,392 KB
testcase_01 AC 12 ms
6,424 KB
testcase_02 AC 11 ms
6,384 KB
testcase_03 AC 12 ms
5,896 KB
testcase_04 AC 11 ms
6,432 KB
testcase_05 AC 11 ms
6,224 KB
testcase_06 AC 11 ms
6,304 KB
testcase_07 AC 12 ms
6,328 KB
testcase_08 AC 12 ms
6,336 KB
testcase_09 AC 11 ms
6,372 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
x,y = map(int,raw_input().split())
print int(2*math.ceil(2*(x*x+y*y)**0.5+1e-9)/2)
0