2018-05-26から1日間の記事一覧
連立方程式 | Aizu Online Judge 連立方程式の解を求める問題です クラーメルの公式を利用します Python # coding: utf-8 while True: try: a, b, c, d, e, f = [int(i) for i in input().split()] detA = a * e - b * d detA1 = c * e - b * f detA2 = a * …
連立方程式 | Aizu Online Judge 連立方程式の解を求める問題です クラーメルの公式を利用します Python # coding: utf-8 while True: try: a, b, c, d, e, f = [int(i) for i in input().split()] detA = a * e - b * d detA1 = c * e - b * f detA2 = a * …