left to right

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

eval left to right ignoring operator precedence

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

1+2*3
1*2+3
2+4*2*10+1

Sample output:

9
5
121

Sample input:_

5+54*52*23+4*9+14+1*1+13
17*1+26*16+11*10+18*2
11*1*10+14
1*2+25+7+4+4+15*40
15*13+17*27*6*34+18
8+8+3*2*3+3+9+14*7+1+18*1+5+5*3+29+8+2
10+14*7+8*23+53+9+5
24*2+3*5+4*34
4+4*27+6*13*10+1*9
3*15+22+17*2+11+23*31*16
13*6*19+5+7+9*12+5
8*2*7+37*12+10*4+7+21
6+9+5*8*33+4+10
4*8*5*16*6+15*7
16+17+2*2+20+39+3*5*14
17*2+10+1*1
11+23+15+7*5+3+5
14*3+6+6+7+3*3*20
19+2*16*15*3*10*6
1+5*18*9*8*4*1*10
2*2+15*11+16*19+11+4
16*10*11+1*22+3+10
1+2+10*1*18+42+10*10
1*8+6+3*20*2
5*1*21*3+10*24+6*15+30
6*5*5+11*4*3+8+30
6*2+6+8+3+15*11
4*4+7*32*5*12*28
2*4+8*1+3+21*9+2*1+4
30+20*3+13+4+1
7*10*17*2+16+3*1*10
6+2*10
2*6+18*3+4*7*7*8
4+85*3+13+13*2
9*15+6+8+1*25+12+4
4*9*6+11+1+24*1*20+11*33
2*5+13+5*1*1+10+8*11
32*11*14+14+5+2*9+23
26+8*11*5+10
13+29*9+3+11*18*14
2+3*5+28*6+11+3+2+31
17+30+9+14*36*11*9+31+16
7+3+19*9*17+17+4+15
3*16*3+3+8+4
3*7*2*4*4
22*11+12+1+12*4+5+23
10*14+7+23*17+8
8+1*5*2+9*7+7
22*1+9*3*13+8+14+14
2+10+5+4+6*4+11+8
41*7+5*9*5*5*8+18*1
7+3+9+10*26*16
2*11*9+6*9*3*7*17+18+20+7
8*19*2*3+2+14
1*26*10*6+1*4*6+23+1+3+8*13
16*3+17*27+12*7*18+6
8+3*4+4+3+11+4+25*7
6*9*12+27+5
5*2+2+12+19*4
3+16*4*2*14+12*3+2
12+26*20+13+13+8*5*14+7
15*9*5*1*27
11+5+27*12+16*12+1
9*2*1+5+9+1+15*9+9
11+4+15*39
15+11+57*23+25*2+2*11*5
17*1+76*2+35*12*7*10+1
28+6*6*9+24*7+1+3+5+15
1+25+5+8+44*15+7*24+11
13*46+5*10*7*30*6
3+2+19+21*1+20+1*5
3+5+1+14+1+16*30
16+2+11*8+22*4*2*21
11*8+11*12*3+16+14
19+4+1*29
12+1+46+5+3
5*7+18+2+1*28+23*4+4
28*6*6+11+4*10+12*2
11*3+7+2+5+8+16+1+4
58+1*8+1+18+6*4
2+24+12+12*12*11*13+2*10+5+4
23*23+5*6+3+1*11+13+4
1*4+2*3+5+7*1+14
30*3*18+1*12*1*10+3
15*5+20*14+3*9
11*5+1+25*5+1*9*13
1+22*8*19*4+4*4
5*36*22+2+29+1+13
11*1+2*3+5+8*28+1+10*13*3
6+14+10+8*1+6*4
14+4+22*4*25+10*14+3*3+1
37+41*12*2+5*10*6
16+6+3+12*33+7*1+2+13*3+4
1*21*3+32*17+6+2+7*1*1
7*4+12+8*4*2+3
2+17+21+3+9+10
6+4*33+17+4*10*30*7
2+3+7*3*1+4
44+13+12+9+10*23+5*14
1+1+6+14*6+3*14+4+1+2*19
3+11*14+4+7+15*9+11*6*15
6*40*12+48
2*8+5+16*2*14+5+24
1+13+10+3*15*35*12*29*4+5
7+6*7*7*19+3*3+3+3
4*2*12*13+5
17+37+3+59+8+6*8+9+9+4+9
11*2*1+18*1+15+18*1+1
7+1*1*4+14+20*9*2
6+5+11*3*11*34*10+3+27
33*26+10*7+6+12+4*3*3
1+22+8+19*9*16*3
9+11*11*14*2+18
25*5*1+16+4*3+27*22
39*5+14+2+24+12*4
5*2*2+13*12*6+3*13
12*26+9+2+33+41
5*25+6+2+15*11+2*4
16*11*5*23+15+18+6+4
25+17*18*14*1
11*52*2*33*5*2+20+14+6
7*6*4+6+34
4+3*4*1+5*20*9
1*1*9+16*9+6+8+2*15+7
12*5*1+6+5*1+2+2*10
12*3+1+2*16+1*3*1*17
5*2+10*3+7*6*7*12*6
3+18+2+3+1+18
29*28+6+30+4+7+2*10
1+6*2*5*1*6+11*7+13
2*4+30*3*15+2*5*36
5*2+4*1+20
4+2*29*1*7*6*16*16+5
6+5*9+13+2+9+37+18*10
2*20+1*16*12+8*14+11+20*33
6*15+10*5*8+6+14
2+19+2*7+4+3*39
3*4*12+4*11*15+29+6+4*23
9*45+12+17+1*10+4
2*2+2*17+1+2*4*6*7*5
2+26+12+16*12+5*2
11+18+25*3*6*8*5+9
2+3+4+11+22+1+1+8
3+2*2*16*5*13
2+14*5+11+3+3*22*1+1
4+13*3
1*4*8+9*5+10*2+4
7+13*4*37+6+1*8+7+7
2*17+23+1+12+1+1+3*9+11
3*7*5+6+4*12
4*3+2*4+9*8+1
7+5+2*15*2*32+11+8+15+26
11*5+3*8*11*1+11
3*15+14+2*1*3
3+11+1*10*2+6+2+5*8
13+27*34*1+12+4+1*2*11
8*7*8+13*2+16
35+1+8*14+1+1+9
11*6*3*18+8*12
14*25*28
4*3*44+12+4+23+4
2*5*27+8+17+8*14*8*12+2*11+10
3*2+9+7+3*5+3*3
11+1*11+2+17
10+2*21+1*2+4*11
27*22*12*2*13*15+2*7+3*3+27
7*2*1*15*13+1*19*22*14+12
1+4+20*10+2*9*4*9*1
16*17
5+25+6+14*2*4+11
42+20+3*3*25
3*4*3*7+4+5
5*25+12*5*1+14+8
14+9+3*9+15*9+3
6*11+2
8+3*5*3*1+13
2+22+24*24+1
8*8*9+1+1*4*10*27*8*20+1
5+4*9+1*12*5*23+13
2+10+1*14*36+8+3*17*15
5+9*21+9*2+30*48
9+9+8*4*5*21*10*18
4*1+9+2+10*21+9
5+21+28+26*10*2
8*10*2+4+36*8*23*7+2
5*5+3+10+2+42*2
3+3*9*14*7+2+8*5*1+1
10*2+4+17+18*17+10+3
4+6*15*22*4+13+6+7+14
6*12*8+2+16+48+20
6*16+2+34*19*4*20+2
4+3+1+35*14*2+12*2*25
7+1+10+2
11*2*17*3*3*7*3*6
8*7+3*35*5+2+1*20*17
13+6*3+3*30
5+1+12*5
9*22+8*14*1*1
23*25+6+2*27*11*2+5+4*11
2*2+16*11+13+25
49*12+45+6*4+20*11*13+11
16*14*2*3*8*1
5+4+14+2*1+13+1*7
13*1+15+18*8+3*1
10+2*49*13+6+7+5
4*3*2+9*9+6+10+4
11*24*1+18+14+12+4+9
20*5+5+1+17*8+15
23+2+5*6*21+8+5
11+4+1*19+10+24
3+9+1*23*9+11+8+21+2
5+4*5+17+41+21*5*20*14+17
44*6*8*13*16+4*5*2*3*12
4+2*18+3+2*1+21*11+9*2+4
8+14*10*2*26*17*2*6+2+45*10+4
1+22*7+11*17+1*5
1*4*4+5*4+28*13*5
7+2*10*6+43*6+6*4
13*6+6*3*17+3*3*46
4+3+8*30+9*6*10*12+5
3+2*10*7+4+31
18+11*13+5+6+23+7+4
3+7*7+18*9*8*1+8
43+18+2*2*10*6
5+9*14*11+4+6+14+20
5+5+10+15*10+31*1
11*18*14*5+2*8+13*13
3*12*9+13+54*16*14
35*17+2+2+5
8+1+24+2+5*74+9*4
8*12*2*1+16*4+1*19+15+5*17*12
1+2*10+14*12+7
5*45+3+5*4*3*26
11+7*3*1*11+4*7*72
24*13+14*12*42+35+14+3+9*12
31*13*6+1+1*2
2*1+21+9*24
32+4+10+33+22
5*7*13+3*4*16
2*13+8+4+4*4+6
3*25+2+2
1*1+5*21+3*8*9
19+25*26*4+17*9*38+15
7*2*17
30+1*14*32+4+7+2
3*14*7+1+2+1
15*5+9*11+1*2+7+24+3
28*3+12*29*12+2*6*30
5*4+5*35+13+3*4+24
38+24*21+22*12*2*4*5*16*10

Sample output:

635140
14016
124
2280
1167714
3066
4115
8806
259749
100192
18041
7220
5294
107625
9240
45
288
3840
907200
311040
4290
38755
2860
680
117120
1970
484
1236480
366
168
23990
80
36848
586
3766
166683
506
44564
1880
98784
365
249527
4473
159
672
1096
2898
700
1245
127
525618
12064
655497
928
487487
222648
637
680
172
6422
55587
18225
6385
441
1170
212850
185641
13044
30059
7597800
330
1200
42672
3594
696
67
6368
20484
76
1988
858029
35305
44
194523
11997
47502
55952
4005
57213
176
168430
112620
3733
1630
387
62
737100
40
28406
36043
180810
2928
1065
19731605
36324
1253
1071
74
1188
246870
54882
21600
6178
10164
988
30927
397
6520
20283
10584
377560
208
5940
3622
750
31875
202608
45
8610
3030
308160
34
1870853
1780
3641583
4020
6552
562557
4354
88200
1354
38889
52
10400
2135
51
434
23750
686
1380
521
13500
5115
183
2504
30294
938
627
42864
9800
571
4479584
384
151
5610
58378398
15981824
81648
272
411
4875
261
707
2244
68
178
1153
99878401
113173
1673565
30528
1965600
534
1600
257602
164
26511
1016
13240
662
200642
60800
20
424116
3511520
1800
90
2884
3809421
258
368379
10752
273
371
7662
317
321
999
3793
338
2733
173617
158148000
2970
23338074
14625
7280
14016
591606
330485
385
422
6344
7560
2200
381
1441817
87584
604
11876
3232788
535
72696
301392
1972380
4840
768
101
29312
174
79
9288
1570821
238
13901
298
1884
6013800
3588
101683200

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Sisyphus350.06222021/03/07 20:21:360B / 13B / 19B
2mitchs350.04622021/03/08 04:22:490B / 16B / 16B
3rotary-o350.04652021/03/09 19:54:060B / 16B / 15B
4Histocrat380.04432021/03/17 00:34:000B / 15B / 18B

Ruby2 _

RankUserSizeTimeDateStatistics
1Sisyphus350.20112021/03/07 20:21:410B / 13B / 19B
2rotary-o350.13152021/03/09 19:53:530B / 16B / 15B

Perl _

RankUserSizeTimeDateStatistics
1Sisyphus300.03702021/03/07 14:39:390B / 13B / 15B
2mitchs300.03602021/03/08 04:10:390B / 13B / 15B
3tails300.03632021/03/08 11:03:570B / 13B / 15B
4test1320.04052021/03/07 18:21:210B / ?B / ?B
5McBusLuck360.03992021/03/07 18:22:330B / 20B / 13B

Python _

RankUserSizeTimeDateStatistics
1Sisyphus570.06892021/03/07 11:39:200B / 34B / 21B
2Dingledooper570.06672021/03/07 15:33:020B / 34B / 21B
3xnor570.06912021/03/07 19:11:210B / 34B / 21B
4mitchs570.16292021/03/08 04:18:070B / 34B / 21B
5lynn570.06632021/03/09 02:02:490B / 34B / 21B
6McBusLuck840.07012021/03/07 18:44:340B / 46B / 35B

Python3 _

RankUserSizeTimeDateStatistics
1Dingledooper550.11352021/03/07 15:37:380B / 30B / 25B
2mitchs550.11282021/03/08 04:20:350B / 30B / 25B
3Sisyphus560.11522021/03/07 11:44:520B / 31B / 24B
4mypetlion780.11742021/03/11 08:52:250B / 41B / 36B
5McBusLuck840.12112021/03/07 18:44:050B / 43B / 38B

JavaScript _

RankUserSizeTimeDateStatistics
1ZED.CWT670.05502021/03/09 10:44:270B / 37B / 30B
20mg (Sisyphus)550.05452021/03/21 09:46:360B / 30B / 25B

J _

RankUserSizeTimeDateStatistics
1pooq270.04572021/03/11 20:42:360B / ?B / ?B

Jelly _

RankUserSizeTimeDateStatistics
1hako100.48242021/04/02 12:35:337B / 2B / 1B

Haskell _

RankUserSizeTimeDateStatistics
1xnor920.03652021/03/13 20:38:450B / 42B / 47B
2lynn960.03562021/03/10 02:21:560B / 39B / 47B

Bash _

RankUserSizeTimeDateStatistics
1tails260.02152021/03/07 15:07:040B / 11B / 14B
2McBusLuck360.02412021/03/07 18:21:500B / 21B / 13B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails360.08332021/03/08 10:57:270B / 13B / 19B
2McBusLuck800.44242021/03/07 19:18:560B / 33B / 43B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs2640.11722021/03/18 18:03:290B / 0B / 264B

GolfScript _

RankUserSizeTimeDateStatistics
1Darren Smith200.20002021/03/09 00:27:240B / 5B / 15B
2mitchs200.20852021/03/09 11:08:160B / 4B / 16B
3tails200.22742021/03/09 12:32:550B / 5B / 15B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs140.18142021/03/09 15:28:596B / 7B / 0B
2tails140.17822021/03/09 18:11:456B / 7B / 0B
3whio170.20012021/03/12 23:32:517B / 9B / 0B

Vim _

RankUserSizeTimeDateStatistics
1kops200.18392021/03/08 06:18:423B / ?B / ?B
2_580.22002021/03/07 17:03:433B / ?B / ?B

goruby _

RankUserSizeTimeDateStatistics
1mitchs250.11242021/03/08 04:42:230B / 9B / 15B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o1086.58482021/03/09 20:55:400B / 65B / 36B

Language Ranking_

RankLangUserSizeScore
1Jellyhako1010000
2gs2mitchs147142
3Vimkops205000
4GolfScriptDarren Smith205000
5gorubymitchs254000
6Bashtails263846
7Jpooq273703
8PerlSisyphus303333
9RubySisyphus352857
10Ruby2Sisyphus352857
11Bash (builtins)tails362777
12Python3Dingledooper551818
13JavaScript0mg (Sisyphus)551818
14PythonSisyphus571754
15Haskellxnor921086
16Scalarotary-o108925
17Brainfuckmitchs264378

return to the top page