Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Language: System of Linear Equations
Description Solve the system of linear equations subject to xi ≥ 0, ∀i = 1, 2, …, n. Input The input in is the following format with 1 ≤ m, n ≤ 100.
All numbers except m and n are real numbers. Output If any solutions exist, output one of them in the following format.
Otherwise declare that the system is inconsistent by printing “impossible”. An special checker program that admits an absolute error of 10−10 is used to verify your results. Sample Input 2 3 1 1 0 36 -1 1 -1 4 Sample Output 16 20 0 Source |
[Submit] [Go Back] [Status] [Discuss]
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator