multiply SI units


Your name:
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.


Multiply the given SI units. (The units are ordered: m, kg, s, A, K, mol, cd.)


exec is denied

rejudge feature is enabled

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

Sample input:_

A mol * s2 A
m2 A * kg2 K2
m A2 K2 cd * A2 K mol
m2 A2 * mol2
m * s2 K2 cd
s2 * m A2 cd
m2 s A2 cd * s2 K2 mol cd2
s A K mol * m s A
s * m K2
m2 s2 K2 * A K2 cd
m kg2 s cd2 * m2 s2 K
m K2 mol2 * m2 mol2
m kg * mol
mol * m kg A K mol
m mol * K cd2
mol cd2 * mol2
m2 s A mol cd * m2 s2 A2 cd2
K2 * m s
m2 A K mol2 * m A2 K mol2
m s K * cd2
A K2 * m2 A K mol2
m kg A2 mol * m A cd2
s mol cd * m2 kg2 s2 A2 K mol cd2
A2 cd * s2 K2 mol
m kg s * m kg2 A
m s A * mol2 cd2
cd2 * m
m A2 mol cd * m2 A mol
s2 cd2 * A2
s mol2 * kg2 s A mol2
m * m2 s cd2
m kg2 K2 * mol
m cd2 * K2 mol
s2 cd * m
s2 K * A K2
A mol * A2
m kg2 mol * m kg2 A2 K mol2
A2 cd2 * A2 K2
kg A cd * s2 A
m2 mol2 cd2 * s mol cd
s2 mol * s cd
s K2 * m2 s2 A2
kg2 cd * s mol2
cd2 * m2 cd
kg s A2 mol2 * kg K mol2 cd2
m s2 * mol2 cd2
s * mol
m s2 A mol2 * mol2
m2 s2 A2 mol2 * m s2 A2 K
A2 * m K2

Sample output:

s2 A2 mol
m2 kg2 A K2
m A4 K3 mol cd
m2 A2 mol2
m s2 K2 cd
m s2 A2 cd
m2 s3 A2 K2 mol cd3
m s2 A2 K mol
m s K2
m2 s2 A K4 cd
m3 kg2 s3 K cd2
m3 K2 mol4
m kg mol
m kg A K mol2
m K mol cd2
mol3 cd2
m4 s3 A3 mol cd3
m s K2
m3 A3 K2 mol4
m s K cd2
m2 A2 K3 mol2
m2 kg A3 mol cd2
m2 kg2 s3 A2 K mol2 cd3
s2 A2 K2 mol cd
m2 kg3 s A
m s A mol2 cd2
m cd2
m3 A3 mol2 cd
s2 A2 cd2
kg2 s2 A mol4
m3 s cd2
m kg2 K2 mol
m K2 mol cd2
m s2 cd
s2 A K3
A3 mol
m2 kg4 A2 K mol3
A4 K2 cd2
kg s2 A2 cd
m2 s mol3 cd3
s3 mol cd
m2 s3 A2 K2
kg2 s mol2 cd
m2 cd3
kg2 s A2 K mol4 cd2
m s2 mol2 cd2
s mol
m s2 A mol4
m3 s4 A4 K mol2
m A2 K2

Sample input:_

m mol2 * kg2 A2 cd
m kg mol2 * s K2
s2 * kg2 cd
cd2 * m s2 A cd
m * A cd2
m2 s * kg mol cd2
mol * kg K
m2 A * s2 A
kg A K2 mol cd * A2 mol2
mol * m2 s2 K mol2
s K * kg2 cd
m mol cd * mol2 cd2
K mol2 cd * kg2 K2 mol2 cd
m2 s2 cd2 * m kg2
mol * s2 K2 mol
m2 s * kg
m2 kg A mol * s2 K cd2
A K2 cd * kg2 s2 K
A K2 * kg s K
m2 kg2 K * A2 mol
m2 s * A2 cd
kg2 K2 mol * cd
K2 cd2 * m2 s2 cd
K mol2 * mol
m2 A K * s2 K
m2 kg2 K * mol
kg cd * kg K mol
s2 A mol * kg2 K2
s2 A * s K2
s * s cd
s K mol2 * kg mol cd
s K2 * m2 s2
kg s2 mol * kg2 mol
kg K2 mol * s2 A mol
kg2 s2 A2 K mol cd * kg2 A2 mol
s K cd * m2 cd2
K2 * K mol2
m2 mol2 * A mol
m A2 * m kg2 s2 mol
kg A * kg A2 K
A2 K mol * kg2 A2
m kg2 K * s cd2
m2 * s2 A2 K2
kg2 * m A
kg s2 A K2 * kg K cd
kg2 A mol2 cd * K mol
m s2 mol * A2 mol
kg * K
kg2 * s2 mol2
kg2 mol * kg

Sample output:

m kg2 A2 mol2 cd
m kg s K2 mol2
kg2 s2 cd
m s2 A cd3
m A cd2
m2 kg s mol cd2
kg K mol
m2 s2 A2
kg A3 K2 mol3 cd
m2 s2 K mol3
kg2 s K cd
m mol3 cd3
kg2 K3 mol4 cd2
m3 kg2 s2 cd2
s2 K2 mol2
m2 kg s
m2 kg s2 A K mol cd2
kg2 s2 A K3 cd
kg s A K3
m2 kg2 A2 K mol
m2 s A2 cd
kg2 K2 mol cd
m2 s2 K2 cd3
K mol3
m2 s2 A K2
m2 kg2 K mol
kg2 K mol cd
kg2 s2 A K2 mol
s3 A K2
s2 cd
kg s K mol3 cd
m2 s3 K2
kg3 s2 mol2
kg s2 A K2 mol2
kg4 s2 A4 K mol2 cd
m2 s K cd3
K3 mol2
m2 A mol3
m2 kg2 s2 A2 mol
kg2 A3 K
kg2 A4 K mol
m kg2 s K cd2
m2 s2 A2 K2
m kg2 A
kg2 s2 A K3 cd
kg2 A K mol3 cd
m s2 A2 mol2
kg K
kg2 s2 mol2
kg3 mol


Ruby _

1llhuii890.03462018/03/21 09:20:050B / 40B / 46B
2jpl1000.02822018/03/12 07:59:270B / 42B / 54B
3rotary-o1000.02382018/03/12 10:39:580B / 46B / 44B
4Histocrat1000.02532018/03/18 13:08:590B / 47B / 44B
5Histocrat (llhuii)870.04592018/03/25 22:56:580B / 41B / 43B

Ruby2 _

1llhuii950.11352018/03/21 15:02:420B / 40B / 52B
2rotary-o990.09992018/03/12 10:38:110B / 46B / 43B
3jpl1000.10382018/03/12 07:59:060B / 42B / 54B
4Histocrat1020.10382018/03/20 01:46:520B / 47B / 46B
5letranger1200.10042018/03/09 00:17:140B / 55B / 57B
6Histocrat (llhuii)930.14252018/03/25 23:19:480B / 41B / 49B

Perl _

1llhuii700.03162018/03/18 19:12:520B / 26B / 40B
2brx780.03092018/03/19 21:50:060B / 32B / 45B
3tails830.03352018/03/14 14:23:130B / 36B / 45B
4letranger1040.02352018/03/10 07:09:480B / 46B / 50B

Python _

1xnor1230.04942018/03/21 15:40:210B / 68B / 34B
2lynn1260.04912018/03/08 04:20:240B / 71B / 34B
3rolf1260.04792018/03/08 05:28:550B / 71B / 34B
4dianne1260.04982018/03/08 09:06:550B / 75B / 38B
5mitchs1260.04792018/03/08 15:02:050B / 71B / 34B
6hallvabo1280.04922018/03/08 23:16:070B / 66B / 40B
7recursive1340.05132018/03/14 06:47:420B / 72B / 49B
8Mr. Xcoder1250.05002018/03/30 00:37:590B / 68B / 37B

Python3 _

1dianne1200.10632018/03/08 09:15:130B / 71B / 37B
2shigeru1370.07522018/03/08 10:10:460B / 81B / 44B

JavaScript _

1FizzyTea1450.03262018/03/13 12:55:560B / 78B / 64B
2ETHproductions1570.03812018/03/08 07:01:180B / 92B / 63B
3letranger1860.04012018/03/08 22:49:280B / 85B / 100B
4FizzyTea1360.03302018/03/22 08:42:000B / 77B / 57B
5FizzyTea(ETHproductions,alt)1360.02982018/03/22 08:52:550B / 80B / 53B
6ETHproductions1400.03422018/03/22 05:57:160B / 78B / 57B

C _

1llhuii1720.02112018/03/22 01:53:180B / 83B / 88B
2tails1790.02112018/03/22 01:52:096B / 94B / 79B
3TokusiN2080.02112018/03/20 20:12:580B / 94B / 112B
4chocobi2190.02112018/03/17 08:43:520B / 111B / 106B
5rolf5040.02132018/03/10 03:55:110B / 245B / 214B

sed _

1mitchs1020.05242018/03/20 05:48:210B / 29B / 65B
2tails1020.07722018/03/20 19:21:310B / 30B / 54B
3kimiyuki1160.26392018/03/19 10:10:550B / 35B / 69B

gs2 _

1mitchs260.17452018/03/14 14:49:2410B / 8B / 8B
2tails290.16662018/03/12 15:02:397B / 10B / 11B

Burlesque _

1Hendrik760.09372018/03/19 06:13:240B / 43B / 28B
2Hendrik670.09162018/03/24 19:58:060B / 37B / 30B

Scala _

1llhuii1474.72122018/03/21 20:59:270B / 81B / 62B
2rotary-o1574.67882018/03/12 20:52:360B / 95B / 48B

Language Ranking_

4RubyHistocrat (llhuii)872988
5Ruby2Histocrat (llhuii)932795

return to the top page