Simultaneous Equations FIXXED

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Take in multiple linear equations and determine the value of each of the variables.

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

2x+y=8
x+y=6

Sample output:

x=2
y=4

Sample input:_

x+2w-yz=690
-x+w-4y+2z=-75
z-y+x-w=85

Sample output:

w=5
x=100
y=-20
z=-30

Sample input:_

a-b+3c-9d-13e-12f+g-h+4i+j-15k+22l-m+n-9o=-1483
-(h+3g)^2-o+24+nm+l-4k+ij-13+7f-ed+cb-a=19473
-5o+anb-4m-d+8le-k-f-j+g-19i+12h=31948

Sample output:

a=1
b=7
c=19
d=32
e=87
f=54
g=34
h=19
i=2
j=75
k=25
l=46
m=63
n=23
o=18

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1niha830.19192008/09/24 17:05:053B / 33B / 46B
2niha(embed)840.21662008/09/23 18:39:143B / 31B / 49B
3niha820.10982008/09/26 22:31:403B / 34B / 44B

Python _

RankUserSizeTimeDateStatistics
1kt3k1320.14442008/09/11 22:01:350B / 72B / 46B

PHP _

RankUserSizeTimeDateStatistics
1pooq1250.21972008/11/22 06:57:320B / 84B / 40B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima(embed)1421.00302008/09/18 08:49:070B / 78B / 46B

Arc _

RankUserSizeTimeDateStatistics
1pooq13510.42242009/10/07 06:02:510B / 76B / 38B

JavaScript _

RankUserSizeTimeDateStatistics
1nn1170.18562008/09/13 16:48:530B / 82B / 34B

Lua _

RankUserSizeTimeDateStatistics
1pooq1460.26172008/11/18 18:42:080B / 77B / 52B

Prolog _

RankUserSizeTimeDateStatistics
1pooq1520.12582012/03/04 23:24:350B / 86B / 53B

BASIC _

RankUserSizeTimeDateStatistics
1pooq1530.33012008/09/14 06:16:570B / 85B / 42B
2yt(cheat)1472.43382008/10/28 19:52:500B / 82B / 41B

J _

RankUserSizeTimeDateStatistics
1pooq1230.15682008/09/14 06:29:530B / 68B / 34B

C _

RankUserSizeTimeDateStatistics
151b1140.00072008/09/13 22:50:4015B / 43B / 55B

OCaml _

RankUserSizeTimeDateStatistics
1m.ukai (embed)1480.26712010/08/31 11:39:340B / 87B / 40B

Haskell _

RankUserSizeTimeDateStatistics
1pooq1640.05322009/05/10 22:15:330B / 105B / 53B

Pascal _

RankUserSizeTimeDateStatistics
1pooq1820.03442009/01/19 15:26:410B / 107B / 52B

Curry _

RankUserSizeTimeDateStatistics
1pooq1470.08962009/11/10 06:17:010B / 87B / 35B

Asymptote _

RankUserSizeTimeDateStatistics
1pooq1423.04952009/04/06 18:02:410B / 79B / 45B

AWK _

RankUserSizeTimeDateStatistics
1nn1070.00612008/09/13 16:49:570B / 72B / 35B

sed _

RankUserSizeTimeDateStatistics
1GeoJ1310.07422008/09/21 05:31:510B / 83B / 45B

Postscript _

RankUserSizeTimeDateStatistics
1yshl(embed)(bin)861.17972008/09/17 23:33:0537B / 33B / 12B

R _

RankUserSizeTimeDateStatistics
1pooq1213.31822008/11/23 07:59:340B / 78B / 42B

gs2 _

RankUserSizeTimeDateStatistics
1whio400.23112017/03/10 07:42:1014B / 21B / 5B

Vim _

RankUserSizeTimeDateStatistics
1nn1110.07292009/11/29 21:17:154B / 73B / 31B

Groovy _

RankUserSizeTimeDateStatistics
1nn12611.79572008/09/15 23:59:160B / 90B / 36B

Language Ranking_

RankLangUserSizeScore
1gs2whio4010000
2Rubyniha824878
3Postscriptyshl(embed)(bin)864651
4AWKnn1073738
5Vimnn1113603
6C51b1143508
7JavaScriptnn1173418
8Rpooq1213305
9Jpooq1233252
10PHPpooq1253200
11Groovynn1263174
12sedGeoJ1313053
13Pythonkt3k1323030
14Arcpooq1352962
15Common LISPkozima(embed)1422816
16Asymptotepooq1422816
17Luapooq1462739
18BASICyt(cheat)1472721
19Currypooq1472721
20OCamlm.ukai (embed)1482702
21Prologpooq1522631
22Haskellpooq1642439
23Pascalpooq1822197

return top