結果

問題 No.1175 Simultaneous Equations
ユーザー toshiro_yanagi
提出日時 2023-06-29 16:17:27
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 26 ms / 2,000 ms
コード長 163 bytes
コンパイル時間 66 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-07-06 07:00:29
合計ジャッジ時間 964 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

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

x = (c * e - b * f) / (a * e - b * d)
y = (c * d - a * f) / (b * d - a * e)

print(*[round(it, 5) for it in (x, y)])
0