結果
問題 | No.1064 ∪∩∩ / Cup Cap Cap |
ユーザー |
|
提出日時 | 2023-04-12 14:20:13 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 36 ms / 2,000 ms |
コード長 | 178 bytes |
コンパイル時間 | 646 ms |
コンパイル使用メモリ | 82,504 KB |
実行使用メモリ | 53,828 KB |
最終ジャッジ日時 | 2024-10-08 12:44:15 |
合計ジャッジ時間 | 3,291 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 36 |
ソースコード
a, b, c, d = map(int, input().split())disc = (a - c) ** 2 - 8 * (b - d)if disc == 0:print("Yes")elif disc < 0:print("No")else:print(f"{(a + c) / 2} {(b + d) / 2}")