結果
| 問題 |
No.1027 U+1F4A0
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-04-17 21:56:10 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 208 bytes |
| コンパイル時間 | 185 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-10-03 12:47:52 |
| 合計ジャッジ時間 | 1,571 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 19 WA * 3 |
ソースコード
import math
D1, D2 = map(int, input().split())
deg = math.sqrt(D2 * 2) / 2
if deg == math.sqrt(D1) or D1 == D2:
print(4)
elif deg < math.sqrt(D1) and math.sqrt(D1) < D2:
print(8)
else:
print(0)