結果

問題 No.98 円を描こう
ユーザー akanaya
提出日時 2020-03-26 11:00:08
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 358 ms / 5,000 ms
コード長 272 bytes
コンパイル時間 414 ms
コンパイル使用メモリ 12,032 KB
実行使用メモリ 31,416 KB
最終ジャッジ日時 2025-01-02 00:59:45
合計ジャッジ時間 6,952 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
import numpy as np
from collections import deque
from collections import Counter
import sys 

input = sys.stdin.readline
# sys.setrecursionlimit(25000)

x, y = list(map(int, input().split(' ')))

d = math.sqrt(x ** 2 + y ** 2) * 2

print(math.floor(d) + 1)



0