結果

問題 No.1175 Simultaneous Equations
ユーザー qumazakiqumazaki
提出日時 2020-09-02 23:42:03
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 122 bytes
コンパイル時間 164 ms
コンパイル使用メモリ 81,760 KB
実行使用メモリ 53,480 KB
最終ジャッジ日時 2024-05-01 19:38:27
合計ジャッジ時間 1,374 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,480 KB
testcase_01 AC 37 ms
52,680 KB
testcase_02 AC 35 ms
53,260 KB
testcase_03 AC 35 ms
52,824 KB
testcase_04 AC 37 ms
52,484 KB
testcase_05 AC 36 ms
53,020 KB
testcase_06 AC 38 ms
52,708 KB
testcase_07 AC 37 ms
52,196 KB
testcase_08 AC 36 ms
52,736 KB
testcase_09 AC 36 ms
52,996 KB
testcase_10 AC 38 ms
52,664 KB
testcase_11 AC 37 ms
52,080 KB
testcase_12 AC 37 ms
52,560 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

x = c*e-b*f
y = -c*d+a*f
x /= a*e-b*d
y /= a*e-b*d
print(' '.join(map(str,[x,y])))
0