結果
| 問題 | No.98 円を描こう |
| コンテスト | |
| ユーザー |
hiragn
|
| 提出日時 | 2022-10-25 03:26:55 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 158 bytes |
| 記録 | |
| コンパイル時間 | 535 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 15,704 KB |
| 最終ジャッジ日時 | 2026-03-24 12:35:24 |
| 合計ジャッジ時間 | 2,002 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 3 WA * 3 |
ソースコード
def main():
x, y = map(int, input().split())
radius = (x ** 2 + y ** 2) ** 0.5
print(2 * int(radius) + 1)
if __name__ == "__main__":
main()
hiragn