結果

問題 No.1175 Simultaneous Equations
ユーザー 学ぶマン
提出日時 2025-04-22 23:22:51
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 138 bytes
コンパイル時間 570 ms
コンパイル使用メモリ 82,244 KB
実行使用メモリ 53,764 KB
最終ジャッジ日時 2025-04-22 23:22:53
合計ジャッジ時間 2,078 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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