結果
問題 |
No.98 円を描こう
|
ユーザー |
|
提出日時 | 2018-12-13 12:22:09 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 124 bytes |
コンパイル時間 | 151 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-09-25 04:25:13 |
合計ジャッジ時間 | 1,151 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 4 |
other | RE * 6 |
ソースコード
x, y = map(int,input().split()) r = np.sqrt(x**2+y**2) if 2*r == int(2*r): print(int(2*r+1)) else: print(int(2*r)+1)