結果
問題 |
No.1027 U+1F4A0
|
ユーザー |
![]() |
提出日時 | 2020-04-18 15:05:41 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 226 bytes |
コンパイル時間 | 182 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-10-03 23:39:05 |
合計ジャッジ時間 | 1,517 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 20 WA * 2 |
ソースコード
# coding: utf-8 d1, d2 = map(int,input().split()) r = d1**0.5 d = d2**0.5/2**0.5 d_ = d2**0.5 if r < d: ans = 0 elif r == d: ans = 4 elif d < r < d_: ans = 8 elif r == d_: ans = 4 else: ans = 0 print(ans)