結果
| 問題 | No.98 円を描こう |
| コンテスト | |
| ユーザー |
sekihankamibanz
|
| 提出日時 | 2018-10-27 17:25:55 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 17 ms / 5,000 ms |
| + 799µs | |
| コード長 | 143 bytes |
| 記録 | |
| コンパイル時間 | 55 ms |
| コンパイル使用メモリ | 14,592 KB |
| 実行使用メモリ | 10,368 KB |
| 最終ジャッジ日時 | 2026-11-10 19:49:52 |
| 合計ジャッジ時間 | 1,747 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge7_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 7 |
ソースコード
import math
x, y = [int(s) for s in input().split(' ')]
length = math.sqrt(x ** 2 + y ** 2)
diameter = int(length * 2) + 1
print(diameter)
sekihankamibanz