Pretty Fractions

Submit

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

Display pretty fractions.

Options

exec is denied

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

Sample input:_

```57/4
28/7+2
3+51/63
15+2/167+b
(a-b)/(a+b)
3/4+5+1/(2+3*x)+4
z+1/2+3*x+4
81+(5*z+7)/(a+b)+8/(56-x)+E
56
(25+x)*b+(4*x+1)/7
15+(7+3*x)/8+B+7*x/(45-h)
1/2+1/3+1/4+1/5+1/6+1/7+1/8+1/9+1/10
1/(x+1)+1/(x+2)+1/(x+3)+1/(x+4)+1/(x+5)
(z+1)/2+(z+2)/3+(z+3)/4+(z+4)/5+(z+5)/6
(a+b+c)/(x-y)=(x+y)/(u+v)```

Sample output:

```57
--
4

28
--+2
7

51
3+--
63

2
15+---+b
167

a-b
---
a+b

3     1
-+5+-----+4
4   2+3*x

1
z+-+3*x+4
2

5*z+7  8
81+-----+----+E
a+b  56-x

56

4*x+1
(25+x)*b+-----
7

7+3*x      x
15+-----+B+7*----
8       45-h

1 1 1 1 1 1 1 1 1
-+-+-+-+-+-+-+-+--
2 3 4 5 6 7 8 9 10

1   1   1   1   1
---+---+---+---+---
x+1 x+2 x+3 x+4 x+5

z+1 z+2 z+3 z+4 z+5
---+---+---+---+---
2   3   4   5   6

a+b+c x+y
-----=---
x-y  u+v

```

Ranking

Ruby_

RankUserSizeTimeDateStatistics
1jpl1980.01322014/07/10 20:27:550B / ?B / ?B
2jbb2510.01212014/07/15 13:21:340B / 110B / 130B
3jpl (jbb)1760.02392014/07/29 20:31:240B / ?B / ?B

Perl_

RankUserSizeTimeDateStatistics
1brx1660.01162014/07/16 08:56:002B / 44B / 115B
2brx1620.01222014/07/24 05:25:422B / 45B / 110B

Python_

RankUserSizeTimeDateStatistics
1hallvabo (zip)2260.04052014/07/09 08:20:46129B / 68B / 27B
2hallvabo2700.02012014/07/08 08:37:250B / 129B / 121B
3rolf (embed)2760.02812014/07/05 06:10:02162B / 60B / 51B
4rolf3220.03602014/07/09 08:37:370B / 142B / 156B

J_

RankUserSizeTimeDateStatistics
1I., S.2400.04232014/07/07 07:37:450B / 82B / 144B

R_

RankUserSizeTimeDateStatistics
1NikNakk4100.24862014/07/07 19:05:460B / ?B / ?B

Language Ranking_

RankLangUserSizeScore
1Perlbrx16210000
2Rubyjpl (jbb)1769204
3Pythonhallvabo (zip)2267168
4JI., S.2406750
5RNikNakk4103951