結果

問題 No.1175 Simultaneous Equations
ユーザー tcltktcltk
提出日時 2022-06-03 04:17:30
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 124 ms / 2,000 ms
コード長 436 bytes
コンパイル時間 151 ms
コンパイル使用メモリ 81,796 KB
実行使用メモリ 85,936 KB
最終ジャッジ日時 2023-10-21 01:25:31
合計ジャッジ時間 2,996 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 113 ms
85,928 KB
testcase_01 AC 124 ms
85,928 KB
testcase_02 AC 114 ms
85,928 KB
testcase_03 AC 118 ms
85,932 KB
testcase_04 AC 119 ms
85,932 KB
testcase_05 AC 121 ms
85,932 KB
testcase_06 AC 111 ms
85,928 KB
testcase_07 AC 113 ms
85,932 KB
testcase_08 AC 119 ms
85,932 KB
testcase_09 AC 121 ms
85,932 KB
testcase_10 AC 119 ms
85,928 KB
testcase_11 AC 113 ms
85,928 KB
testcase_12 AC 122 ms
85,936 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3
# from typing import *

import sys
import io
import math
import collections
import decimal
import itertools
import bisect
import heapq


def input():
    return sys.stdin.readline()[:-1]


# sys.setrecursionlimit(1000000)

# _INPUT = """# paste here...
# """
# sys.stdin = io.StringIO(_INPUT)

INF = 10**10


a, b, c, d, e, f = map(int, input().split())
x = (c*e-b*f)/(a*e-b*d)
y = (a*f-c*d)/(a*e-b*d)
print(x, y)
0