結果
| 問題 | No.98 円を描こう |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2015-08-21 09:41:44 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 171 bytes |
| 記録 | |
| コンパイル時間 | 280 ms |
| コンパイル使用メモリ | 21,536 KB |
| 実行使用メモリ | 15,868 KB |
| 最終ジャッジ日時 | 2026-08-17 00:26:12 |
| 合計ジャッジ時間 | 2,681 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 4 WA * 2 |
ソースコード
import math x, y = map(int, input().split()) length = math.sqrt(x ** 2 + y ** 2) checker = math.ceil(length) print(checker * 2 if length != checker else checker * 2 + 1)