結果
問題 | No.1027 U+1F4A0 |
ユーザー |
![]() |
提出日時 | 2021-01-07 02:02:16 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 265 bytes |
コンパイル時間 | 188 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-11-07 15:58:11 |
合計ジャッジ時間 | 1,767 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 13 WA * 9 |
ソースコード
import math A, B = map(int, input().split()) A = math.sqrt(A) B = math.sqrt(B) X = math.sqrt(pow(math.sqrt(B), 2) - pow(math.sqrt(B) / 2, 2)) if A < X: print(0) elif A == X: print(4) elif A < B: print(8) elif A == B: print(4) else: print(0)