結果
問題 | No.1175 Simultaneous Equations |
ユーザー |
|
提出日時 | 2020-10-02 18:02:46 |
言語 | Go (1.23.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 225 bytes |
コンパイル時間 | 11,983 ms |
コンパイル使用メモリ | 227,256 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-08 14:00:13 |
合計ジャッジ時間 | 12,916 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 11 |
ソースコード
package main import "fmt" func main(){ var a, b, c, d, e, f float64 fmt.Scan(&a, &b, &c, &d, &e, &f) var x, y float64 x = (c*e - b*f) / (a*e - b*d) y = (f - d*x) / e fmt.Printf("%g\n", x) fmt.Printf("%g\n", y) }