結果
| 問題 |
No.98 円を描こう
|
| コンテスト | |
| ユーザー |
バカらっく
|
| 提出日時 | 2019-09-29 16:28:31 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 191 bytes |
| コンパイル時間 | 137 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-10-03 04:30:18 |
| 合計ジャッジ時間 | 910 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 4 |
| other | WA * 6 |
ソースコード
# -*- coding:utf-8 -*-
import math
(x,y) = [int(i) for i in input().rstrip().split(" ")]
dist = pow(x,2) + pow(y, 2)
ans = int(math.sqrt(dist))
if ans * ans < dist:
ans += 1
print(ans)
バカらっく