結果

問題 No.1064 ∪∩∩ / Cup Cap Cap
ユーザー TakoKurageTakoKurage
提出日時 2020-05-29 23:47:05
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 173 bytes
コンパイル時間 840 ms
コンパイル使用メモリ 10,520 KB
実行使用メモリ 8,008 KB
最終ジャッジ日時 2023-08-06 05:54:41
合計ジャッジ時間 2,071 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,932 KB
testcase_01 AC 16 ms
7,840 KB
testcase_02 AC 16 ms
7,872 KB
testcase_03 AC 16 ms
7,844 KB
testcase_04 AC 15 ms
7,928 KB
testcase_05 AC 15 ms
7,916 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 15 ms
7,960 KB
testcase_09 AC 15 ms
7,876 KB
testcase_10 AC 16 ms
7,840 KB
testcase_11 AC 16 ms
7,932 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 15 ms
7,920 KB
testcase_15 AC 15 ms
7,788 KB
testcase_16 AC 15 ms
7,908 KB
testcase_17 AC 15 ms
7,876 KB
testcase_18 AC 15 ms
7,908 KB
testcase_19 AC 15 ms
7,792 KB
testcase_20 AC 15 ms
7,824 KB
testcase_21 AC 15 ms
7,844 KB
testcase_22 AC 15 ms
7,824 KB
testcase_23 AC 15 ms
7,796 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 AC 15 ms
7,860 KB
testcase_35 AC 15 ms
7,824 KB
testcase_36 AC 15 ms
7,912 KB
testcase_37 AC 15 ms
7,872 KB
testcase_38 AC 15 ms
7,784 KB
testcase_39 AC 15 ms
7,784 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b, c, d = map(int, input().split())

D = (a - c) * (a - c) - 4 * (b - d)
if D < 0:
    print("No")
elif D == 0:
    print("Yes")
else:
    print((a + c) / 2, (b + d) / 2)
0